cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Adamh
Level: Powered On

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
Community Support Team
Community Support Team

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
laidlawl
Level: Powered On

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.


Adamh
Level: Powered On

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

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,713)