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 / Images in PDF export
Power Apps
Answered

Images in PDF export

(0) ShareShare
ReportReport
Posted on by 181

Hi,

 

I'm trying to use the new PDF functionality to email myself a simple report.

Everything works well except for images. 

 

i am using a free google api to generate a QR code. I put the following code into the Image property of an Image control: "https://chart.googleapis.com/chart?cht=qr&chs=320x320&chl=lkjaslkdjadsf&chld=L|0"

All works as expected with the QR code showing up in the PDF emailed. 

 

I've also got another Image control using a different free API for 1D barcodes. Again I put the following in the Image propery: "https://barcode.tec-it.com/barcode.ashx?data=ABC-abc-1234&code=Code128&translate-esc=true&imagetype=Png&eclevel=L"

The barcode shows up in the image control nicely. Unfortunately I can't get it to show up in the PDF. I just get a blank control. 

 

I've tried to save each image from a browser and then upload them as new media. They both seem to PDF fine when putting them into image controls as uploaded media.

 

Any idea why this might be?

 

Asaf

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,117 Most Valuable Professional on at

    Hi @asafweis ,

    Yes - you have found one of the "bugs" (if I can call it that) of the new experimental PDF function. It will not resolve URL-generated images (or Power Apps charts either)

  • asafweis Profile Picture
    181 on at

    Interesting that it works with the google URL though. wonder whats the difference between them

  • WarrenBelz Profile Picture
    156,117 Most Valuable Professional on at

    Yes - that is interesting - I have not used it a lot, but have never been able to get any charts or URL images to work.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @asafweis ,

     

    Unfortunately, we have no way of knowing why it behaves differently.

    But there is a workaround to show the pdf with second url. We can call flow to get the real image content.

    Sample:

    vxiaochenmsft_0-1687749973352.png

    vxiaochenmsft_1-1687749999161.png

    vxiaochenmsft_2-1687750009173.png

    vxiaochenmsft_3-1687750017442.png

     

    Hope it helps.

     

    Best Regards,

    Wearsky

  • asafweis Profile Picture
    181 on at

    cool. I'll give it a try!

  • asafweis Profile Picture
    181 on at

    worked great! thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard