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 / Building a power app w...
Power Apps
Unanswered

Building a power app with pdf viewer

(0) ShareShare
ReportReport
Posted on by 8

Hi All,

 

I'm making a power app and need to include a pdf viewer on one of the screens. I'm pulling the data from a documents folder in sharepoint where the pdfs are stored in separate folders. When I implement the pdf viewer on the app, I filter a gallery to the specific item that was selected. Attached is a screenshot of the folder I am using and a screenshot of the gallery in the app. 

 

Any help is appreciated. 

 

wcd20_0-1696273233014.png

SignatureRequest Forums.png

Categories:
  • Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at

    Hi,

     

    No where do I see an actual ask, or an explanation of what's wrong. I just see a red x. If that is supposed to be the viewer then

    1. tell us how you are connecting the selected row with the PDF

    2. what is the error

    3. Where is the file located that is a pdf


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

  • wcd20 Profile Picture
    8 on at

    I am using the filter function on the gallery. Here is the code: Filter(Documents,GalleryExistingRequests.Selected.RequestID = 'Request ID'). In this case the request ID is the name of one of the folders that contain the pdfs.

    The error is unrelated to the listing of pdfs in the gallery. 

    The pdfs are stored in the sharepoint folders from the second screenshot. 

     

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    The PDF viewer in Power Apps can't show PDFs stored in an authenticated source like SharePoint. The common workaround is to use a Power Automate flow to retrieve the PDF and convert it to a BAse64 blob and then return that to the PDF viewer.  This article will show you how. Power Apps View A PDF Stored In A SharePoint Document Library (matthewdevaney.com)

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard