Hallo PowerApps Team,
I need a function to decode a string in PowerApps.
In my business case I want to save text from only text multiline SharePoint field in an other sharepoint field with rich text turned on.
The problem is that all linebreaks get lost.
So I want to replace all line breaks with html line breaks.
In flow I found a solution.
uriComponentToString(replace(uriComponent(outputs('Mail_part')), '%0A', '</br>'))
But I want it in PowerApps.
I tried to use the functions "encodeUrl" and "plainText" but it does not work. PlainText function makes no decoding (it removes html and xml)!
PlainText(Substitute(EncodeUrl(DataCardValue1.Text); "%0A"; "<br/>"))
The result is some ugly text with a lot of encoded signs like spaces "%20"
Ans ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.