cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAnalytics
Advocate III
Advocate III

Save attachments into collection and send them to SharePoint Online

Hello everybody,

 

is it possible to save attachments (from multiple forms) in a collection and send all attachments from this collection (via flow or patch()) to a SharePoint Online list? We need this offline capability to collect our form data (form data includes attached images) because we haven't a strong internet connection in some areas. Up to now I'm not able to create a solution for this issue.

 

For example:

1. User has to fill out some forms (text data and attachments --> images) and saves all the data into two collections

a) Collection A which contains all the form data.

b) Collection B which contains all the attached images (via attachment control).

 

When the User arrives at the office he has got a very good WiFi connection. At the office the user have to send all the data to SharePoint Online.

 

Thanks in advance!

2 REPLIES 2
v-yuxima-msft
Community Support
Community Support

Hi @PowerAnalytics ,

 

Do you want to save form's data into 2 collections?

You can try the following workaround:

SubmitIcon.OnSelect=SubmitForm(Form1);ClearCollect(Collection1,Form1.LastSubmit);ClearCollect(Collection2,Form1.LastSubmit.Attachments)

SaveForm1.PNG

 

And  could you please reference this case:

https://powerusers.microsoft.com/t5/General-Discussion/Binding-Collection-to-EditForm-is-not-working...

 

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

 

Hi @v-yuxima-msft ,

I really appreciate your support but I think this isn't exactly the solution I was looking for.

 

To explain it in a nutshell all I want to do is collect and save attachments (images) locally and when I'm back at the office I want to send all attachments to SharePoint Online.

 

By the way, because of our weak internet connection I'm not able to use Form1.LastSubmit.

 

Thank you so much in advance!

 

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,791)