cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tonyarc
Frequent Visitor

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

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

Hi @tonyarc,

 

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

 

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

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

Hi @tonyarc,

 

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

 

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

tonyarc
Frequent Visitor

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

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

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

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 @tonyarc,

 

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

 

Regards,

Mona



@v-monli-msft wrote:

Hi @tonyarc,

 

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

 

Regards,

Mona


 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,300)