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 / Paste screenshot into ...
Power Apps
Unanswered

Paste screenshot into rich text editor field into sharepoint list multiline field

(1) ShareShare
ReportReport
Posted on by 301

I have couple of multi line (enhance rich text) field in sharepoint list ,
I have refer a video of Shane which converts b64 into binary .
Most of the part is done , the only place I'm facing problem is

With({varHTMLTableInhalts:Split(RichTextEditor3.HtmlText,"<img")},
        If(CountRows(varHTMLTableInhalts)>1,
        With({varB64start:Find("<img",RichTextEditor3.HtmlText)+33},
        With({varB64End:Find("""",Mid(RichTextEditor3.HtmlText,varB64start))-1},
        With({varFileLink:B64ToBinary.Run("Paste" &Text(Now(),"dd/mm/yyyy")&".png",Mid(RichTextEditor3.HtmlText,varB64start,varB64End)).biinaryoutput},
        Set(varInhalt,"<div>"& Replace(RichTextEditor3.HtmlText,varB64start-22,varB64End+22,varFileLink)&"</div>")))),Set(varInhalt,RichTextEditor3.HtmlText))))
 
Patch(XYZ,Thisrecord,{Multiline field : varInhalt});

So my field value is <div><img src="https://abc.com/sites/APE/RichImage/Paste09_07_2024.png" /></p></div>

This value is not converted into html code rather string value.
When I'm passing <div><img src="https://abc.com/sites/APE/RichImage/Paste09_07_2024.png" /></p></div> its getting converted as &lt;div&gt;&lt;img............... while viewing the record.
Please help how can I go ahead with it.
Categories:
I have the same question (0)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard