Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How can we view Embedded Images from Outlook Emails and Show it in the PowerApps

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I am developing a code to get outlook Viva email view in Powerapps screen as shown below

nandinik123_0-1661329497598.png

Then, I am inserting HtmlText to read the body of the Viva email.

However, I can only view the text of the body, while image embedded in the email can't be displayed.

nandinik123_1-1661329714668.png

Is there a solution to resolve the issues, as there are many cases of receiving emails are embedded with images?

 

Thanks!

  • William365Ms Profile Picture
    William365Ms 5 on at
    Re: How can we view Embedded Images from Outlook Emails and Show it in the PowerApps

    is it possible to explain more. cause i have same problem,

    thanks

    Screenshot 2023-03-27 at 09.24.49.pngScreenshot 2023-03-27 at 09.30.04.png

  • nandinik123 Profile Picture
    nandinik123 2 on at
    Re: How can we view Embedded Images from Outlook Emails and Show it in the PowerApps

    Hi @v-xiaochen-msft ,

     

    Thank you for your response. I'll try out this solution.

     

    Best Regards,

    Nandini

  • Verified answer
    Re: How can we view Embedded Images from Outlook Emails and Show it in the PowerApps

    Hi @nandinik123 ,

     

    It's a bit tricky. Actually, the image stored in outlook body whose src value is a cid.

    vxiaochenmsft_0-1661499747411.png

    Canvas cannot get the real image content via the cid.

     

    Luckily, power automate can get image content (datauri) via action 'Get Attachment' action.

    vxiaochenmsft_2-1661500174975.png

     

    Finally, pass the content to canvas and replace cid with it.

     

    Best Regards,

    Wearsky

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard