web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issues downloading fil...
Power Apps
Unanswered

Issues downloading files stored in a Dataverse file column

(0) ShareShare
ReportReport
Posted on by 187

Hello everyone,

I have developed a Power Apps Canvas application and one of the needs is to be able to download files stored in a Dataverse file type column in bulk. I have tried several techniques, but none of them works perfectly.
In particular :
- The "Download" formula to download the file, but I am having problems with the download not working correctly in all browsers and every time. I used this URL "https://" & glbEnvURL & "/api/data/v9.1/my_table(" & ThisItem.ItemID & ")/my_file_column/$value". I also tried to retrieve the URL from Power Automate.
- To use the data card generated from a form, but this one has two problems: I can't launch several with one click (basically launch it on all the items in my gallery) and I want to perform an action in addition to the download (the file is downloaded and a status is changed).

Have you ever encountered this problem and found a solution to upload files from a file column in Dataverse into a Power Apps Canvas application easily?

I thank you in advance for your help and suggestions.

Sincerely

Categories:
I have the same question (1)
  • victorcp Profile Picture
    2,350 Moderator on at

    Hi,

    I faced this issue in the past and the problem was related to the browser was blocking the download, to fix that I enabled the pop-ups and redirects on, here:

     

    on Chrome:

    victorcp_0-1681381829413.png

     

    on Edge:

    victorcp_3-1681382131433.png
    victorcp_2-1681382088096.png

     

    All the users must do this in order to download

     

    I hope it helps 🙂

  • CharlesPP Profile Picture
    187 on at

    Thanks for your answer! 

    Unfortunately, I had already put it as allow.

    The behavior is a bit weird, the page opens, but the URL is "about:blank". If I click several times on the URL, I finally see the real URL appear, but the file downloads only after several seconds. If I do nothing, it stays in "about:blank" and downloads after several seconds. It's not a good solution for me since I have to download several files at the same time, so 30 tabs open at the same time doesn't really work, especially since sometimes it can take a long time to download. 

    If you have an idea, I'm very interested!

  • victorcp Profile Picture
    2,350 Moderator on at

    hm....

    as you are download in a bulk and maybe there are some items that don't have an file that's explain the "about:blank", can you share the formula that you are using? and also check if there are any items that don't have a file?

  • CharlesPP Profile Picture
    187 on at

    Surprisingly, there is a file every time 😕 

    I use this formula at multiple places, but here is the code I am using, where "cg_commandes" is the logical name of my table, "ThisItem.Commande" is the id of the record and "cg_fichierstl" is the logical name of my File type column : 

    Download("https://" & glbEnvURL & "/api/data/v9.1/cg_commandes(" & ThisItem.Commande & ")/cg_fichierstl/$value");


    To download in bulk, I call the same formula in a ForAll loop. 

    Thank you in advance!

  • CharlesPP Profile Picture
    187 on at

    It's suddenly working properly again, tested on different tenants with different browsers, hmm. Anyway, I'm going to use OneDrive instead with local sync, it will be more reliable and also good for the users! 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard