cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
German_Chris
Helper I
Helper I

Download()-Function -> Sharepoint Attachment File (PDF) on Mobile

Thanks for reading my question.

I have a Canvas App. In this App I have a Button to download a file, which is a attachment in a Sharepoint list.
I use the DOWNLOAD()-Function
SharepointDownload.png
In Windows it works fine, it opens a new Browser-Window (Edge) an shows the PDF.

But in the Mobile-App (on Iphone) nothing happens.
I can see that the App is loading data, but the I'm not prompted for a location to save the file as discribed in this link Download function in Power Apps - Power Apps | Microsoft Docs

What is the Problem?

 

 

2 REPLIES 2
BrianS
Super User
Super User

I think this may be the issue:

"When used on the web, Download is dependent on the browser's settings"

You may be able to use the Launch function, but you may run into the same issue if the mobile device does not have an app to deal with PDF files.

@BrianS thanks for you answer.
Both, Download() and Launch() do not their job. 
I thought it would open a dialog to save the file as described in the link.
"In native players (Windows, Android, and iOS), the user is prompted for a location to save the file."


I think there must be some security problems. I send the link by mail to my IPhone and tried to open it.
This launches the Office-App, but a Error Massage appers (translated from german):
Account not set up. Your organization has your account to access ..... unfurnished. Contact your IT administrator for help.

(All that's missing is  "Good luck!" 😉 )

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,299)