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 / Image not Appearing in...
Power Apps
Answered

Image not Appearing in Power Apps Gallery Saved as PDF File

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

How do I get an image from a Power Apps gallery to appear in a saved PDF?

I am using the following formula with the accompanying flow to save a Power Apps gallery as a PDF in a SharePoint Library.

Set(varEmailTemplate, PDF(Email_Gallery));
SavePurchaseOrderasPDF.Run(Email_Cutomer_Name_Fld.Text &"-"& Email_Machine_Model_Fld.Text &"-"& Email_Reference_ID_Fld.Text & ".pdf",

{
file: {
name: Email_Cutomer_Name_Fld.Text &"-"& Email_Machine_Model_Fld.Text &"-"& Email_Sold_Date_Fld.Text & ".pdf",
contentBytes: PDF(Email_Gallery)
}
}
);

Phineas_5-1702841643022.png


The PDF file is saving to the library. I am getting everything but the image from the Power Apps gallery. The image control IS within
the gallery.


View of Power Apps Gallery -

Phineas_1-1702840452612.png


View of Saved PDF -

Phineas_2-1702840558735.png


Both of the following formulas return an image to the Power Apps screen image control.
Note: The image property, using both formulas, shows 'None', even though an image does appear in image control.

Edit_PO_Device_Image.Image

//LookUp(Machine_Image_Collection,Model_Name in Edit_PO_Model_Fld.Selected.Value).'Thumbnail ({Thumbnail})'.Medium


The source image control, from the main screen - where the 'Edit_PO_Devcie_Image' is located, is using the following formula.
Note: Its image property value also shows 'None'.
LookUp(Machine_Image_Collection,Model_Name in Edit_PO_Model_Fld.Selected.Value).'Thumbnail ({Thumbnail})'.Medium

Phineas_4-1702841304239.png

 

Categories:
I have the same question (0)
  • Verified answer
    Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Phineas 

     

    Just like you are saving the PDF, you should save the thumbnail that is in your Power Apps, you can get the element and update it with the thumbnail

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • Phineas Profile Picture
    5,331 Moderator on at

    How would that look in the formula?

     

    I've tried several iterations and can't get anything to show.

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Phineas 

     

    You must pass the url of the document as a parameter within the flow and then save the url in the field associated with the thumbnail

  • Phineas Profile Picture
    5,331 Moderator on at

    Any chance you could 'show' me what that would look like by updating my formula I provided?

     

    I'm still trying to learn all this.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 476

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 339

Last 30 days Overall leaderboard