Skip to main content

Notifications

Power Automate - General Discussion
Suggested answer

Insert Rich Text Attachment into Rich Text Field in Outlook Email

Posted on 15 May 2024 12:22:21 by 269

I'm capturing images within the Rich Text control on my Power App - model driven - Dataverse app.

damian_green23_1-1715775264226.png

When I put the rich text field into the Outlook control in Power Automate, the result is a frame with no image inserted.

damian_green23_7-1715775610605.png

From the Feedback table the HTML shows the GUID for the image within the field.

damian_green23_6-1715775428831.png

 

The images are stored in a table called Rich Text Attachment with a GUID.

damian_green23_0-1715775209288.png

What am I missing?  Does someone have a flow that is able to export images that they can share as a visual?

  • Suggested answer
    damian_green23 Profile Picture
    damian_green23 269 on 24 Nov 2024 at 00:53:02
    Insert Rich Text Attachment into Rich Text Field in Outlook Email
    I had some serious assistance from James L.  Screen capture of the Child flow we built that is fed the rich text field.  The output is the HTML string that is needed to include the images that are stored in different Dataverse table from the text.
  • mjburley Profile Picture
    mjburley 370 on 16 May 2024 at 13:27:30
    Re: Insert Rich Text Attachment into Rich Text Field in Outlook Email

    Are you able to get hold of that image from that table into your flow?

     

    I've had this issue with grabbing an image from SharePoint and embedding it into an email to show in Outlook. Without the below formatting it would not show. In your case you'd have to search and replace the img tag in the RTF with the new image from the compose.

     

    I fetched the image with a Get File Content (SP action), and then encode it thus:

     

    mjburley_0-1715865882540.png

    where body/$content is 

    body('Get_file_content_using_path_of_Table_jpg')['body']['$content']

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard

Featured topics