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

Notifications

Announcements

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,631 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard