cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dohsan
Advocate II
Advocate II

Rich Text Control - Saving to Blob storage issue

 We have a canvas app with several rich text controls, that the users use to provide text and also paste in 1 or more screenshots.

 

We've been noticing some performance issues and believe it's due to the size of the data being saved via these controls, as all the images are being converted and stored as base64.

 

My understanding is that the rich text control should be saving any images into blob storage and then only the src link to this should be saved (See: https://www.dancingwithcrm.com/ootb-rich-text-editor/) ? We have provided users full CRUD access to the msdyn_richtextfile entity (https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/msdyn_richtextf...), which has the display name Rich Text Attachments in the power platform. My thought it was also to be saved to this by default?

 

Is there anything we are missing? Does this behaviour only apply to Model Driven and not canvas apps?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Dohsan ,

 

They are totally different.

So if you use the oob canvas rich text control , you can save the image in anywhere. 

It should be noted that the image in canvas rich text is base64 string. If you want to save it as a file, you should call a flow and use datauritobinary function to convert it .

Hopefully it makes sense.

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @Dohsan ,

 

They are totally different.

So if you use the oob canvas rich text control , you can save the image in anywhere. 

It should be noted that the image in canvas rich text is base64 string. If you want to save it as a file, you should call a flow and use datauritobinary function to convert it .

Hopefully it makes sense.

 

Best Regards,

Wearsky

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (2,286)