PowerApps - Encoding URL and Converting HTML text

PowerApps allowing users to  Encode the URL and converting the HTML Text. Using Encode function,we can Encode the URL string. EncodeUrl function will convert the special characters with % value and a hexa decimal number.

For Example, if i pass a string - "https://make.powerautomate.com/environments/" as input to the EncodeUrl, it returns the value as "https%3A%2F%2Fmake.powerautomate.com%2Fenvironments%2F"

EncodeUrl function accepts string as parameter and it is required . It returns the Encoded Url as result.

PlainText() function in PowerApps converts the HTML/XML tags  in to proper text. For example if we pass the Value to Plain Text as 

<P>
Hello This is Sample text from &nbsp;&quot;Tech Battle Field&quot;&nbsp; blog.
</P>

It returns the result as 

Hello, This is Sample text from "Tech Battle Field" blog

generally we use PlainText() function when we get the data from RSS feeds and shown them in the PowerApp. RSS feeds will retuen XML/HTML format. Plaintext() function will return the data to the proper format.

Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date