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 / Unable to view: JPG's,...
Power Apps
Answered

Unable to view: JPG's, PNG's, and PDF's in PowerApps Form. Blank page shows up and doesn't load.

(0) ShareShare
ReportReport
Posted on by

 

Hello all!

 

When I attach files (JPG, PNG, PDF) to a form, and try to view the attachments in the submission results, a blank screen pops up and I am unable to view the files. This is what the results section of my form looks like:

jharville_0-1625246159404.png

 

When I click on any of the below 3 attachments, this blank blue rectangle pops up and does not show the attachment viewer:

 

jharville_1-1625246220495.png

 

This is the code for the blue rectangle (within the OnSelect property): 

jharville_0-1625247269538.png

 

I tried setting it to "true" instead of the default "false", but it didn't fix it. Here is the PDF Viewer that isn't showing:

 

jharville_1-1625247358291.png

 

I tried moving "PdfViewer7" to the front, but it still wouldn't show. Would anybody have a solution on how to preview the attachments (JPG, PNG, PDF)? 

 

Thank you!

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @jharville ,

    Firstly the PDF viewer can only handle PDF files (not image files - you need an Image control for that), however if the selected item in galAttachments is a PDF file, it should display in the PDF viewer. To test this, add another PDF viewer with the same settings in the Document.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

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