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 / How come there is a PD...
Power Apps
Answered

How come there is a PDf Viewer Template published and PDF viewer still not working?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a set of instructions? I have tried just about everything. My PDFs sit in a document library - HTTPS but get a grey screen or grey screen with make sure your PDF is comming from an HTTPs......  Has anyone else utilized the PDF view tablet template?

Categories:
I have the same question (0)
  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    It is true that using a PDF file link from SharePoint document library directly on the PDF viewer control won't work. But you could actually workaround this issue with some help from Flow.

     

    Create a flow like this:

    Untitled.png

     

    And then in PowerApps, link the PDF viewer with a document library Gallery control like using below formula:

    "FlowURL&itemid="& Gallery1.Selected.'{Identifier}'

    You could find the detailed steps in the video of below thread:

    https://powerusers.microsoft.com/t5/Community-Video-Gallery/Real-World-PowerApps-How-to-view-SharePoint-PDF-s-in-PowerApps/td-p/104375

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked perfectly. thanks! One question. The PDF viewer is automatically selecting the first PDF in the library.   I used the template from powerapps. My other apps used an > or something to trigger but the pdf viewer just starts loading first item in gallery. Any Ideas?

  • yasminSarbaoui Profile Picture
    Microsoft Employee on at

    Hello, just a question, is it in program to solve this issue? Having to use flow each time for pdfs can be a blocker for companies that need this capability to view several documents everyday.


    @v-monli-msft wrote:

    Hi @Anonymous,

     

    It is true that using a PDF file link from SharePoint document library directly on the PDF viewer control won't work. But you could actually workaround this issue with some help from Flow.

     

    Create a flow like this:

    Untitled.png

     

    And then in PowerApps, link the PDF viewer with a document library Gallery control like using below formula:

    "FlowURL&itemid="& Gallery1.Selected.'{Identifier}'

    You could find the detailed steps in the video of below thread:

    https://powerusers.microsoft.com/t5/Community-Video-Gallery/Real-World-PowerApps-How-to-view-SharePoint-PDF-s-in-PowerApps/td-p/104375

     

    Regards,

    Mona



    @v-monli-msft wrote:

    Hi @Anonymous,

     

    It is true that using a PDF file link from SharePoint document library directly on the PDF viewer control won't work. But you could actually workaround this issue with some help from Flow.

     

    Create a flow like this:

    Untitled.png

     

    And then in PowerApps, link the PDF viewer with a document library Gallery control like using below formula:

    "FlowURL&itemid="& Gallery1.Selected.'{Identifier}'

    You could find the detailed steps in the video of below thread:

    https://powerusers.microsoft.com/t5/Community-Video-Gallery/Real-World-PowerApps-How-to-view-SharePoint-PDF-s-in-PowerApps/td-p/104375

     

    Regards,

    Mona


     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard