cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

pdfviewer

I went through the Microsoft Power Apps community looking for a way to view a pdf file in Power Apps.

My scenario is like below:

- Sharepoint list with hyperlink (https) to pdf

- Galery on Power Apps

- Screen with PdfViewer

 

Gallery onselect property I included:

Navigate(Screen1,ScreenTransition.CoverRight) // Screen1 where PdfViewer is placed

 

Document property on PdfViewer I included:

Gallery_Operative.Selected.DocLink

 

My issue: The document doesn't open. However, if I click Open in my browser instead, the document opens perfectly.

 

I have seen some workaround using Microsoft Flow. But just wondering if some of you experience guys have any idea to suggest.

 

Many thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User III
Dual Super User III

The big question is where is the PDF stored?  You said there is a SharePoint list with a link to the PDF.  But if the PDF isn't stored in an anonymous access site then the PDF viewer can't view it directly.  If its stored in a SharePoint document library there is a way to view the document using flow.  Here's a good blog on how to view a PDF stored in SharePoint using the PDF viewer.

 

https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Real-World-PowerApps-How-to-view-Shar... 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Dual Super User III
Dual Super User III

That workaround is the only way I've seen that can display a pdf stored in SharePoint using the PDF viewer.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Dual Super User III
Dual Super User III

The big question is where is the PDF stored?  You said there is a SharePoint list with a link to the PDF.  But if the PDF isn't stored in an anonymous access site then the PDF viewer can't view it directly.  If its stored in a SharePoint document library there is a way to view the document using flow.  Here's a good blog on how to view a PDF stored in SharePoint using the PDF viewer.

 

https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Real-World-PowerApps-How-to-view-Shar... 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thanks Pstock1. I see the When a HTTP is receive is a Premium feature. Do you have any other work around instead of using Premium?

 

Many thanks 

Dual Super User III
Dual Super User III

That workaround is the only way I've seen that can display a pdf stored in SharePoint using the PDF viewer.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thank you very much 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,863)