cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

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 Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support
Community Support

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 Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

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?

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


 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,194)