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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard