web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch a concat text wi...
Power Apps
Answered

Patch a concat text with "<" inside

(1) ShareShare
ReportReport
Posted on by 124

I'm trying to use the Pen input to sign pdf made thru a flow, previously I used a website to convert images into HTML code then store them in a SharePoint list and bring the whole code from there when required from the flow.

I would like to replace the manual procedure with an app, but I discovered that as soon as I try to concat the "<" nothing works anymore.

 

My on select in a button

 

Set(varJSON,JSON(PenInput1.Image,JSONFormat.IncludeBinaryData));
Set(varJSON,"<p><img src="&varJSON&" style=""width: 94px;""></p>");

Patch(Anagrafiche,First(Filter(Anagrafiche,Title=User().Email)),{SignHTML:varJSON});

 

the SignHTML remains empty, but the varJSON appears right as shown in the text of a label in the app

DPozzi_0-1665147098020.png

 

So I've tried to patch this one:

Set(varJSON,"A"&"B"&"C");

Patch(Anagrafiche,First(Filter(Anagrafiche,Title=User().Email)),{SignHTML:varJSON});

 

and works fine, SharePoint list reports ABC

 

then I've tried to patch:

Set(varJSON,"<"&"B"&"C");

Patch(Anagrafiche,First(Filter(Anagrafiche,Title=User().Email)),{SignHTML:varJSON});

 

and the field in the list appears empty again, I guess that the problem is the existence of < inside the concat text, but why?

PowerApps can become such frustrating, how can I replace the < ? maybe with some ASCII code?

 

 

 

Categories:
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    What type of field is SignHTML?

  • DPozzi Profile Picture
    124 on at

    it's multiple line of text with rich text enabled

    DPozzi_0-1665148764511.png

     

  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    If you want to keep the content for use in a flow, turn off rich text and just store the html as plaintext, tested on my side and that retained the info which I got flow to read

     

    Is there any particular reason you needed it to use rich text?

  • DPozzi Profile Picture
    124 on at

    I can't recall the reason, so I removed the rich text format, and as you said it worked fine, thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard