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

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

(0) ShareShare
ReportReport
Posted on by

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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard