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

Images in PDF export

(0) ShareShare
ReportReport
Posted on by 179

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
    153,073 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
    179 on at

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

  • WarrenBelz Profile Picture
    153,073 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
    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
    179 on at

    cool. I'll give it a try!

  • asafweis Profile Picture
    179 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

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard