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 / Patching a collection ...
Power Apps
Answered

Patching a collection to a sharepoint list where a condition is met

(0) ShareShare
ReportReport
Posted on by 89

I have a sharepoint list, my data is brought to a powerapps gallery, this gallery has checkboxes that when pressed add the selected item to a collection. Then when another button is pressed all the items within the collection are checked for matches against my original sharepoint list, and a field is patched to for each.

When ran it returns "Error when trying to retrieve data from the network". This method has worked in similar situations previously, so im unsure as to why it isnt now. Ive browsed for a couple of hours testing solutions, but none have fixed my issue. 

My code is: 

ForAll(Selected_Attendees1, Patch('CB 2.0 Attendees List', LookUp('CB 2.0 Attendees List', AttendeeAddress = ThisRecord.AttendeeAddress), {DeleteCheck: "Yess"}))

Selected_Attendees1 is my collection.  Any help or suggestions would be massively appreciated.

Categories:
  • Verified answer
    Bilakanti Profile Picture
    1,226 on at

    @Papgooner - "Error when trying to retrieve data from the network" - error will be show basically when you enable the "formula bar" in settings and once you disable the setting, you can see the actual error that you are getting during patch.

    Bilakanti_0-1674572877860.png

     

  • Papgooner Profile Picture
    89 on at

    cheers, a good piece of advice 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard