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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,058)