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

PDF viewer not working in latest update

Hi!

We are currently using PowerApps version 3.19081.20 for an app that displays PDF:s stored on Sharepoint using a flow. Whenever we try to re-publish the app which makes it update(currently to 3.19084.12) the PDFViewer stops working and just says that the PDF can't be showed. Clicking the link that shows the PDF in browser works and shows the correct PDF. The PDFViewer doesn't work for version 3.19082.20 or 3.19083.21 neither. My question is what is causing this? And is there a way to force PowerApps to not update while saving changes and re-publishing?

Thank you for time!
Adam

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: PDF viewer not working in latest update

Hi @Adamh ,

I've made a similar test and found that PDF viewer works good in my powerapps. My powerapps version is 3.19084.12.

The problem that you have I think is about the PowerApps version is a little stale. 

For now, unless you find PowerApps version 3.19081.20's website and edit your app in this version.

There's no way to republish app in previous version of PowerApps.

It will automatically saved in the latest version of PowerApps.

I suggest  you recreate your app in the latest version of PowerApps.

Or you could also ask for help here:

https://powerapps.microsoft.com/en-us/support/

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Regular Visitor

Re: PDF viewer not working in latest update

I am having the same issue, also on V 3.19084.12 - not sure what's causing it.


Highlighted
Frequent Visitor

Re: PDF viewer not working in latest update

Hi!

I've tried creating a new app but it is still not working. I am using the exaxt same PDF which previously worked but it is not showing in the new version. Is there anything other i can try?

Regards Adam

Highlighted
Advocate II
Advocate II

Re: PDF viewer not working in latest update

This following one statement in the Document property on a PDF Viewer control will dynamically convert many document types to PDF you can display in your apps such as Word documents, PowerPoint presentations, HTML files. Loads more.

Substitute( Gallery1.Selected.Thumbnail, "transform/thumbnail", "transform/pdf" )

 

There is a more consistent way of doing it with PDF documents using the Graph APIs which surface a "@content.downloadUrlproperty for any file, but this property in particular works 100% of the time, and once again you only need to set the Document property on the PDF Viewer to this field using the PA_Graph_DriveItems Flow I've shared on a really long blogs that speaks to loads more things you equally do using those APIs. 

 

Rather download the simplified version of demo app I've shared on that blog, and all the other Flows if you want to:

https://youtu.be/poKsDNYm9Jw

https://masteroffice365.com/powerapps/9/#DownloadSolution

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response 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 (3,389)