Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 295

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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard