Hello all,
I am working on Power apps canvas application which is connected to sharepoint list,
In that I got stuck while sending data to sharepoint from my edit/new form.

The above image is of my edit form and a gallery control, So I want to wright a logic like,
When user click on submit buttons then form will store data in sharepoint list with document from above gallery.
If my gallery contains 2 documents then my edit/new form will store 2 rows in sharepoint list with respect to same datafrom edit/new form.
Basically I want to create a loop for storing the data in sharepoint list based on documents which is present in gallery.
The data source of my gallery is an one Collection, From that collection I am able to get an document's from previous screen,
And data source of Edit/new form is an sharepoint list.