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 / Connecting SharePoint ...
Power Apps
Answered

Connecting SharePoint edit form to collection?

(0) ShareShare
ReportReport
Posted on by 249

I have a gallery which is mapped to a collection (RecordsCollection) for better filtering performance of items in a SharePoint list

I want to be able to select an item, view it, and edit it. View is fine, having trouble with edit though. To get the item to display on the edit form, I set DataSouce to RecordsCollection and Item to Gallery.Selected. This pulls the fields through to the controls to edit but I'm not able to save the new info

I tried SubmitForm(EditForm) and Patch(RecordsCollection, Gallery.Selected, EditForm.Updates) and neither worked, I think because I need to connect it to the actual SharePoint list

Is there any way to make this conenction ono the edit form? Or do I need to Patch each field (want to avoid this if possible)?

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @cooper33 

    Set your Form datasource to your real underlying data source.  

    Set the Item to the Gallery.Selected

     

    Your SubmitForm will work again.

     

    HOWEVER, keep in mind, this does not change your local collection.  You will either need to Patch your collection or ClearCollect the items again.  That's one of the tricky parts about having a local collection like that...keeping it up to date.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard