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
That workaround is the only way I've seen that can display a pdf stored in SharePoint using the PDF viewer.
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
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.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional