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 / Download multiple file...
Power Apps
Answered

Download multiple files from gallery

(1) ShareShare
ReportReport
Posted on by 522

Hello Microsoft Team,

 

i have posted this below comment two months ago and i have not recieved any solution or comment, well shall consider the below question is still under progress.

 

Perhaps i have received the work around but i have used the workaround for time being, in fact i have posted the idea on PowerApps too.

 

"Is it possible to download multiple files within the gallery, in my case i have gallery which has a document library from Sharepoint.

 

And i have added the checkbox controller to the gallery which are "Select All" for Multiple files(10+ or more) and Select the files which are needed(2 or 3 out of 10), so that when needed user can select the multiple documents using checkbox and download in zip file or normal download but How can this be accomplished? However i can dowload or launch the single file at a time."

 

Workaround was from support team:

 

The OnSelect property of the Download button control set to following formula:

Download(Substitute(First(Split(First(Filter(Gallery1.AllItems,Checkbox1.Value=true)).'{Link}',"?")).Result,"%20"," "))

If you want to dowload or launch the single file at a time, please take a try to set OnSelect property of the Download button to following formula:

Download(Substitute(First(Split(First(Filter(Gallery1.AllItems,Checkbox1.Value=true)).'{Link}',"?")).Result,"%20"," "));Launch(First(Filter(Gall

 

But it would be more helpful if the multiple download function was solved.

 

Thanks in advance and Appreciated !

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Nikhil2,

     

    Do you want to download multiple files once time from your Gallery control?

     

    I found that you have posted same thread before within this forum as below:

    https://powerusers.microsoft.com/t5/General-Discussion/Download-Multiple-Documents-from-Gallery-Using-Select-All-or/td-p/119531

     

    As an alternative solution, if you want to download multiple files once time from your Gallery control, please take a try with the following workaround:3.JPG

     

     

    Set the OnSelect property of the Button control to following formula:

    ForAll(
    Filter(Gallery1.AllItems,Checkbox1.Value=true),
    Download(Substitute(First(Split('{Link}',"?")).Result,"%20"," "))
    )

    More details about the ForAll function in PowerApps, please check the following article:

    ForAll function

     

    Best regards,

    Kris

  • Verified answer
    Nikhil2 Profile Picture
    522 on at

    Hello Kris,

     

    Perfect, This is the one which i was looking from all these days and i have submitted the idea for this. Thank you for showing the workaround.

     

    Thanks and Regards,

    Nikhil

  • Nikhil2 Profile Picture
    522 on at

    Hello Kris, 

     

    Apologies for the inconvience.

     

    I have forgotten to ask this question in the main stream. Multiple download is working fine, but is it possible download those files as Zip?

     

    Thanks in advance!

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Best i can tell there is no way to create a Zip file with PowerApps or Flow.

  • Nikhil2 Profile Picture
    522 on at

    Then is there any way or can we download in bulk?

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Does the ForAll code above work? Seems like it should to me.

     

    Thanks

     


    Shane

     

  • Nikhil2 Profile Picture
    522 on at

    It is working and i am using the same code to download multiple files, i have couple of option on my app.

     

    1. Download which it helps the user to download one file at a time(Click download, Click Download).

    2. Second is above ForAll Function user clicks on checkbox press button and download all files which are selected.

     

    But instead of downloading all files as one after the other or just open file by file, i am looking to download in Zip(Which is not an option) or in a folder.

     

  • Nikhil2 Profile Picture
    522 on at

    Unfortunately, Now the ForAll function is not working at the moment previous day when i selected multiple checkboxes and start to download it was totally working fine but now its a disaster. It is not working it is downloading only one file which is first file of the gallery item.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi ,

     

    I want to download the all gallery items in excel

    Capture.JPG
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, I tried formulas for multiple download of items in Gallery, but it opens only first item (in Chrome). In Firefox it opens all selected items in new tabs. So, is there a way to have download of multiple  selected files, to Download folder?  @Shanescows please advise, big fan here 🙂 Capture.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard