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

Create multiple files in SharePoint from PowerApps collection

Hi,

 

I'm trying to enable our real estate agents to take pictures using mobile phone and upload them to SharePoint while they are outside the office. I have created:

 

- A PowerApps that store photo files in a collection, and OnSelect of the upload button will pass the files' title and image to a Flow as "ForAll(CollectionName, FlowName.Run(Title, Image))";

- A Flow then will take the title and image from above to create files in designated SharePoint folder.

 

I have this working basically; HOWEVER, the problem is that it's always only the first file in the PowerApps collection that gets passed to the Flow and created in SharePoint but not the others. I'm not sure whether the flaw is in the PowerApps or Flow... (When pictures are taken, I can see multiple photos in the collection of the app, so I assume the collection works fine at the PowerApps end)

 

Can anyone advise what is missing here? Thanks.

2 REPLIES 2
Community Support Team
Community Support Team

Re: Create multiple files in SharePoint from PowerApps collection

Hi @ lowprofiler,

 

Could you please share a screenshot of the configuration of your flow?

 

Could you please share more details about the PowerApps collection?

Do you have problem get pass all files to the Flow from the PowerApps collection?

 

There is a case similar to yours, please refer to the links below to see if you problem could be solved:

https://powerusers.microsoft.com/t5/Connecting-To-Data/Collection-from-Powerapps-gt-sharepoint-list-...

https://powerusers.microsoft.com/t5/Connecting-To-Data/Collection-from-PA-via-Flow-to-SP-list/m-p/94...

 

Please let me know if your problem could be solved.

 

 

Regards,
Alice Zhang

lowprofiler
Level: Powered On

Re: Create multiple files in SharePoint from PowerApps collection

Hi Alice,

 

Thank you very much for response. I have checked the links you provided but also got help in another thread (link below), which is closer to my scenario for uploading photos. I'll post my following questions there but thanks again for your helpful advice.

https://powerusers.microsoft.com/t5/Expressions-and-Formulas/How-to-upload-photos-from-Collection-us...

 

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,317)