web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataverse Image to PDF
Power Apps
Answered

Dataverse Image to PDF

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

Is it possible to include a Image from a Dataverse Image column on a PDF in the same way you can from Onedrive or SharePoint?

 

I know only the thunbnail is saved in DV but that's fine for my purposes as its a signature so low res is fine

 

Thanks

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,704 Super User 2026 Season 1 on at

    Hi @ChrisHarper,

     

    Please find my video and Blog for your reference

    https://youtu.be/GqH_xn1P0Jo

    https://microsoftcrmtechie.blogspot.com/2021/09/add-image-control-in-dataverse-or-crm.html

     

  • Verified answer
    CH-24102312-0 Profile Picture
    on at

    Thanks but I have the image in the app and needed to include it in a Flow that converts HTML to a PDF

     

    After experimenting with different options, in the end the solution wasn't too complex:

     

    Step1:  Create a variable that contains the image but when assigning the image convert it to base64 as per below:

    Set(gblVariable,Substitute(JSON(myImage.Image,IncludeBinaryData),"""",""))

    The substitute function strips the quotation marks from the base64

    Step2:  Use the variable in your HTML ie: <img src'"gblVariable"'>

    Step3: Convert the HTML to PDF using well publisized Flow methods

     

    So actually once you have the image it's no more complex using Dataverse than using SharePoint or OneDrive

     

    I found that you can use simple Dataverse Lookups when assigning the variable but more complex Lookups threw an unexplained error.  Best to have the image in your app (even if it is hidden) and then assign as above

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard