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 / Bulk Patch modified it...
Power Apps
Answered

Bulk Patch modified items of a gallery to a Sharepoint List (Updating items)

(0) ShareShare
ReportReport
Posted on by 86

I Dont understand why I cant access all properties of a control in a Gallery.AllItems

I have an icon showing up for a modified line in a gallery.

That icon.visibility have a set of formulas to show up or not if a value has been modified.

(Ex: Icon.Visible = TextBox_Name.Text <> ThisItem.Name) (But my formulas check like 20 values).

So I'm trying to do:

Clear(ColNames);
ForAll(
Filter(Gallery.AllItems, ThisItem.Icon.Visible = true) As ThisName,
Collect(ColNames,{ID: ThisName.ID, Title: ThisName.TextBox_Name.Text})
);
Patch(SharepointListNames,ColNames);

Goal is to have one patch command to save all modifications on multiple items in a SharePoint list without updating all records nor Collecting all gallery items.

 

My work around so far is to put a value in the AccessibleLabel=If(Self.Visible,"Save","") and check that value to collect only the modified items.
But I would prefer by far reading the Visible value.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    Hi @DS1060 ,

    Stay with your workaround - Visibility of objects is not available as a filter criteria in a gallery.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard