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 / Patch specific SharePo...
Power Apps
Answered

Patch specific SharePoint List items with Gallery Items

(0) ShareShare
ReportReport
Posted on by 303

Hello everyone,

 

I have a SharePoint list that serves as the data source for my gallery. I need to be able to update the SharePoint list using the gallery. 

 

I've tried using a ForAll( Patch( ) ) statement but nothing is being updated.

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

    @JMAFO 

    You will need to run your ForAll against the Gallery Items.

     

    ForAll(yourGallery.AllItems, Patch(....

     

    I hope this is helpful for you.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @JMAFO :

    As mentioned by @RandyHayes ,you can meet your needs through ForAll( Patch( ) ) .But if you need to determine where the problem is with your formula, it's better to show the complete code.

    One thing to note is that the data structure of Gallery.AllItems and the data structure of this Gallery's data source may be different (it depends on the controls in this gallery).I suggest you refer to the following formula:

     

    ForAll(Gallery.AllItems,Patch(YourDataSource,Defaults(YourDataSource),{Column1:GalleryColumn1,Column2:GalleryColumn2}))

     

    Best Regards,

    Bof

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard