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

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

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

Highlighted

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 

Highlighted
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

Highlighted

Thank you very much 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,223)