Link to home
Start Free TrialLog in
Avatar of Larry Heimendinger
Larry Heimendinger

asked on

UpdateIf in PowerApps for collection updating all records

This is a PowerApps question.

I have a collection from a SharePoint list that is the source for a gallery.  Each item displayed also has an icon the gallery row which should change its status; that should update the record in the collection (which in turn will remove it from the gallery because of a Filter).  My problem is that ALL of the collection items are being updated, not just the single one from the gallery i want.

For OnSelect for the icon, I have

UpdateIf(collection, Title=galItems.Selected.lblItemName.Text

I am now believing that as UpdateIf processes all of the records in the colleciton, not just the single one.  I believe the above condition is TRUE as UpdateIf processes everything in the collection.  Tried all sorts of conditions but nothing changes.

How do I get a condition that specifies the one and only record in the collection?  Title would be unique in the collection and therefore in the gallery.
Avatar of Kyle Santos
Kyle Santos
Flag of United States of America image

Hi,

I am following up on your question.  Do you still need help?

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

Regards,

Kyle Santos
Customer Relations
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.