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

Unable to open PDF using Launch()

Hi All,

 

I am trying to open a PDF in the browser using Launch(URL to my PDF Document). It works fine in the browser when someone OnSelect the label, but when you do the same thing from mobile using power apps it fails and gives an error - Cannot display the PDF.

 

My PDF is stored in a SharePoint library. I am aware of the new PDF control but I wanted to know if 

3 REPLIES 3
Super User
Super User

Re: Unable to open PDF using Launch()

@FlowMohit 

What happens if you use the DOWNLOAD function instead of the LAUNCH function.  Does it work then?

 

MS Docs For the DOWNLOAD function.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-param

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

FlowMohit
Level: Powered On

Re: Unable to open PDF using Launch()

@mdevaney  Download is not even doing anything inside power apps app but in browser it's working fine.

FlowMohit
Level: Powered On

Re: Unable to open PDF using Launch()

This issue was due to the security settings imposed by intune. It's now resolved. Thanks.

Helpful resources

Announcements
thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (5,539)