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

sending multiple images to blob storage

Hi all,

 

I've got an issue that has been bugging me for weeks regarding submitting the entire contents of a gallery to blob storage or flow. As it stands, my flow takes the base64 of an image, uploads it to blob storage, then for each item in the container, concatentates them and converts to a PDF. Now, my flow works fine submitting one image at a time, but to meet the requirements for this they have asked for multi-image PDFs. 

 

I have a feeling it requires me to play around with the ForAll function, though because I'm very new to PowerApps I don't know how it works. If you have any suggestions please let me know 🙂

 

Tom

2 REPLIES 2
Community Support Team
Community Support Team

Re: sending multiple images to blob storage

Hi Clayton0903,

 

To update entire contents of a gallery to a data source, please try the following code:

ForAll(BrowseGallery1.AllItems,Patch(List4,Defaults(List4),{Title:Title1.Text,number:Value(Subtitle1.Text)}))


I have tested it on my side and it works fine, all the items in the gallery can be saved to the data source List4.


You may take it for a reference and try it on your side.


For more details about ForAll function and Patch function, please check the following link:
https://powerapps.microsoft.com/en-us/tutorials/function-forall/
https://powerapps.microsoft.com/en-us/tutorials/function-patch/


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Clayton0903
Level: Powered On

Re: sending multiple images to blob storage

Hi Mabel,

 

So I have got it to copy the image URL to a new data source, but how would I then get that data into Flow? What I need is for each image to be uploaded to blob storage so that they can be added to a PDF document. 

My ForAll looks like this:

ForAll(Gallery2.AllItems,Collect(SubmitData,{file:Text(Url)}))

Would I simply add that ForAll to my Flow trigger to get it to run for each image?

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,535)