I have a Power Automate flow that takes emails from a shared mailbox and writes them to a custom Dataverse table.
This table has a multiline Text field, which is displayed on the form in the model driven app with the rich text editor control enabled.
The flow writes the body of the email to this field.
Which works fine. But if the email body has an inline image then a file path is inserted. Example of what's written to the field:
<img width="1281" height="648" id="Picture_x0020_1" src="cid:image003.jpg@01D6EB62.E776C010" style="width:13.3402in; height:6.75in">
In the rich text field this displays as the image not found icon.
If I paste an email into the rich text field in the app, it is all fine. It creates the images in the Rich Text Attachment entity and they display fine.
To make this work from a flow, do I need to do complicated stuff like get the image contentbytes from the email body and create a Rich Text Attachment record so I can link that back from the email body?
Is there a better way of handling this scenario of seeing inline images in a model driven app?