Skip to main content

Notifications

Community site session details

Community site session details

Session Id : KHGHVlWzv7RIxVjJ3WfCfn
Power Apps - Building Power Apps
Answered

Import a Vcard file into an Android device

Like (0) ShareShare
ReportReport
Posted on 5 Jan 2019 22:25:31 by 76
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
  • v-xida-msft Profile Picture
    on 24 Jan 2019 at 07:36:23
    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,

  • cjs321 Profile Picture
    76 on 11 Jan 2019 at 08:26:23
    Re: Import a Vcard file into an Android device
    Hi Kris, That's great, Thanks for the help. Kind Regards, Connor Simpson
  • Verified answer
    v-xida-msft Profile Picture
    on 08 Jan 2019 at 05:53:03
    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-housed-in-a/m-p/178145

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

     

    Best regards,

    Kris

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started
Loading complete