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

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

Re: Import a Vcard file into an Android device

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.
3 REPLIES 3
Community Support Team
Community Support Team

Re: Import a Vcard file into an Android device

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

Re: Import a Vcard file into an Android device

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

Re: Import a Vcard file into an Android device

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 292 members 4,580 guests
Please welcome our newest community members: