cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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 (6,973)