cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate V
Advocate V

Accessing PDFs

In the app I am developing, we want to include several PDFs of PowerPoint presentations that we created previously. However, when we download the PowerPoints as PDF, save them to SharePoint, and copy the link into the Excel, an error shows in the PDF viewer in PowerPoint.

 

How/where can we save these files so that the links will work with PowerApps?

6 REPLIES 6
Highlighted
Microsoft
Microsoft

Re: Accessing PDFs

Hi,

 

To access pdf from PDF viewer, add a PDF viewer control, and set its Document property to the URL, enclosed in double quotation marks, of a PDF file as in this example:
"http://www.who.int/gho/publications/world_health_statistics/EN_WHS2015_TOC.pdf?ua=1"

The control shows the PDF file.

 

Reference:

https://powerapps.microsoft.com/en-us/tutorials/control-pdf-viewer/

 

Best Regards,

Lisa chen

Highlighted
Anonymous
Not applicable

Re: Accessing PDFs

I must be missing something very simple because I can't believe that this could be complex...

 

I have added a link to a PDF uploaded in a SharePoint library but the PDF Viewer shows a grey screen and no PDF.

I even tried your example link (after changing it to the needed https link because http is not accepted!) but still a grey screen.

I then tried a working PDF that is online visible: "https://www.unison.org.uk/content/uploads/2012/05/test_12.pdf"

 

Of course all options with the suggested quotation marks but result = 

PDF viewer grey controlPDF viewer grey control

 

Highlighted
Regular Visitor

Re: Accessing PDFs

Same issue I got , grey box that displays without loading anything..The Microsoft PDF Viewer sample App works fine ..

Highlighted
Advocate II
Advocate II

Re: Accessing PDFs

"The Microsoft PDF Viewer sample App works fine .."

Sort of, if you click a couple of pdf's in the sample and then go back to one a second time they do not display for me. Just a grey box. Bug or demo code, not looked yet.

Dave

Highlighted
Regular Visitor

Re: Accessing PDFs

I just checked, it work even in the case when I go back to a PDF that I previously viewed. 

Highlighted
Advocate II
Advocate II

Re: Accessing PDFs

Just checked the Microsoft PDF Reader sample again. I still get grey box when going back to a PDF a second time. Perhaps that gives some pointer to the initial problem?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,706)