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 / View PDF files which s...
Power Apps
Unanswered

View PDF files which store in Collection

(0) ShareShare
ReportReport
Posted on by 145

Hi All,

I am storing my data temporarily in collection. 

 

I want to see attachments with PDF viewer or if any another option is there.

 

Can you please help me to display Pdf or jpg files in pdf viewer control. 

 

Thanks!

Categories:
  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    If you are working with a canvas app in Microsoft Power Apps and want to display PDF or JPG files from a collection, you can use the PDF Viewer control or the Image control. Here's how you can achieve this:

    1. PDF Viewer Control:

      • Add a PDF Viewer control to your canvas app screen. You can find it under the "Media" section in the control palette.
      • Set the "Document" property of the PDF Viewer control to the PDF file you want to display. In this case, you would reference the PDF file stored in your collection.
      • Bind the "Document" property to a field in your collection that holds the PDF file URL or binary data. For example, if your collection has a field named "PDFFile", you would set the PDF Viewer control's "Document" property to ThisItem.PDFFile.
    2. Image Control:

      • Add an Image control to your canvas app screen. You can find it under the "Media" section in the control palette.
      • Set the "Image" property of the Image control to the image file you want to display. In this case, you would reference the JPG file stored in your collection.
      • Bind the "Image" property to a field in your collection that holds the JPG file URL or binary data. For example, if your collection has a field named "JPGFile", you would set the Image control's "Image" property to ThisItem.JPGFile.

    Remember to populate your collection with the necessary PDF and JPG file URLs or binary data so that they can be displayed in the respective controls.

    Note: If you are storing the actual binary data of the files in your collection, make sure to properly handle and convert the data to the required format (URL or base64) before using it in the PDF Viewer or Image control.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard