cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cjs321
Helper II
Helper II

Import a Vcard file into an Android device

Hi, I am struggling to get this to work... but i have a vcard (.vcf) file stored in a onedrive share. i have copied the shareable link to the file and i have attached it to a button on my app using the onselect, Download() function. Is there anyway i can get the button to import the vcard file into the user's phone, once pressed? Kind Regards, Connor Simpson
1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @cjs321,

Do you want to download a file based on a URL address within your app?

I have made a test on my side with Download function, the issue is confirmed on my side. The Download function seems to open the file rather than download the file.

Currently, within PowerApps, there is something wrong with Download function. The user @Spawn10 has faced same issue with you, please check the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/How-can-I-get-to-download-pdf-files-that-are-...

I have post this issue to my product team, if the issue is solved, I would reply here.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @cjs321,

Do you want to download a file based on a URL address within your app?

I have made a test on my side with Download function, the issue is confirmed on my side. The Download function seems to open the file rather than download the file.

Currently, within PowerApps, there is something wrong with Download function. The user @Spawn10 has faced same issue with you, please check the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/How-can-I-get-to-download-pdf-files-that-are-...

I have post this issue to my product team, if the issue is solved, I would reply here.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi Kris, That's great, Thanks for the help. Kind Regards, Connor Simpson

Hi @cjs321,

Just an update -- The response from @Wyatt Goodin:

This is deliberately prevented by browsers, due a strong security recommendation by the WHATWG specification https://html.spec.whatwg.org/multipage/links.html#downloading-resources If the user has control over the server that serves that file (or knows the person who does), they can add "content-disposition: attachment" to the list of headers on the response, which tells the client that the server expects the file to be downloaded in this way. Returning to CSS for communication with customer.

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,019)