Announcements
Hi All,
I'd apprecaite your assistance using the Patch function and ForAll. I get errors when I try to patch a filtered collection.
The error says NetsuiteDepartment_LU does not exist, but the image below shows the column is in Event_Players table. I have already tried the logical field name cr462_Netsuitedepartment_lu with no luck either. The single patch statement commented out works fine.
Thanks Damian
Hello,
According your screenshot, I noticed :
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.
Thanks David I'd missed the note syntax error. Unfortuneatley Event_Players the original error still exists though. I'm not sure why Event_Players is not recognized, as when I uncomment the patch updating one record below the Event_Players is highlighted in green as it should be
Hello
Resolved correct syntax is:
ForAll(Filtered_Attendees,Patch([@Event_Players],Defaults([@Event_Players]),{NetsuiteDepartment_LU:Filtered_Attendees[@NetsuiteDepartment_LU],Note:"Test",Event_LU:var_SelectedEvent}));
Using both FORALL and PATCH require different syntax. Thanks David for the clue "Event_Players is in black font". See for details. https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Patch-Inside-ForAll-not-working/td-p/564206
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 1,070
Valantis 639
11manish 608