This is a cross-post from https://powerusers.microsoft.com/t5/Power-Platform-and-Dynamics-365/Rich-Text-Images-not-loading-in-Power-Pages-Portal/td-p/2468123 because I couldn't get any traction in that group.
Are images in rich text fields supported in Power Pages?
I built a custom Dataverse table, Release Notes, and it has a Content column, which is a multi-line Rich Text field. I have a Power Pages Portal that is currently show Knowledge Articles.
- Images that were copy/pasted into the Content field of Knowledge Articles are loading perfectly.
- Sample URL: /api/data/v9.0/msdyn_knowledgearticleimages%281466c43c-7bdb-ec11-a7b6-000d3a5b938a%29/msdyn_blobfile/$value
- Images that were copy/pasted into the Content field of Release Notes are NOT loading.
- Sample URL: /api/data/v9.0/msdyn_richtextfiles(1b25add0-ad88-ee11-8179-6045bd006127)/msdyn_imageblob/$value?size=full
I have a Table Permission for:
- msdyn_richtextfile
- knowledgearticle
- myname_releasenote
The Portal Application User role has read access to:
- Release Note
- Rich Text Attachment (msdyn_richtextfile)
Note that it does not have explicit read access to anything related to Knowledge Articles -- I'm using one of the Dynamics Portal templates, so there is some magic happening in the background.
I can view text from the Content field of both Knowledge Article and Release Notes... only images are failing to load. Firefox reports "A resource is blocked by OpaqueResponseBlocking, please check browser console for details." Edge WILL load the images, but only if I'm also authenticated in CRM, which is a concern because we're using the portal to share information with employees who don't have a CRM license.
What am I missing? Is there another way to approach this? My goal is to have a rich text field / column on a Dataverse table, that supports copy/paste of images, that it can be rendered in a Power Pages site, and that logging into CRM is not required.