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 !
Solved! Go to Solution.
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:
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:
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:
Best regards,
Kris
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
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:
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:
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:
Best regards,
Kris
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
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!
Best i can tell there is no way to create a Zip file with PowerApps or Flow.
Then is there any way or can we download in bulk?
Does the ForAll code above work? Seems like it should to me.
Thanks
Shane
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.
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.
User | Count |
---|---|
124 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
214 | |
181 | |
139 | |
96 | |
83 |