web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Want to add multiple e...
Power Apps
Unanswered

Want to add multiple entry in SharePoint list from Power Apps

(0) ShareShare
ReportReport
Posted on by 6

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.

Mayur78_0-1700465442647.png

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.

Categories:
I have the same question (0)
  • Akash1ve Profile Picture
    112 on at

    I would suggest to use Patch instead of submit form and loop through docs using ForaAll function.

     

    ForAll(documentCollection,Patch(SPlist,Defaults(SPlist),{Title:"",Email:"",Phone:"",Attchment:ThisRecord.Attachment}))

     

  • Mayur78 Profile Picture
    6 on at

    Hi @AkashVanave94 ,

    Thanks for reply I got the proper way to do this but still I was getting error on patch function

    Mayur78_0-1700473679802.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard