web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I bulk update ...
Power Apps
Unanswered

How can I bulk update a SharePoint list with specific values in a collection without delegation issues?

(0) ShareShare
ReportReport
Posted on by

I have a collection containing changes to a SharePoint list that I want to patch en masse to my list. I am considered delegation is going to be problem.

 

Here is a sample of the Items list:

 

IDNameItemStatus
1BillMarketing0
2JaneAccounting1
3MarkIT1


My colChanges collection is as follows:

IDNameItemStatus
1BillMarketing2
3MarkIT2

 

I want to patch the changes to the Status column to the Items SP list simultaneously. I know I'll need ForAll and Patch, but I cannot figure out how to do it without running into delegation issues.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    Will this work?

    ForAll(
     colChanges,
     Patch(your_items_list, LookUp(your_items_list ,ID=colChanges[@ID]), {Status: colChanges[@Status])
    )

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    on at

    @mdevaney, thanks for responding. Unfortunately, no because that creates a delegation warning that hampers the functionality of the patch due to SharePoint not currently supporting certain actions on the native ID column. 

  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 
    If the ID field cannot be delegated then the best way to perform a bulk update might be sending the Collection to MS Flow and having it perform the update. 

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    on at

    I like the way you think. I'll do it that way. Hoping a native Power Apps solution becomes available soon. Thanks for your help!

  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    I too would enjoy a native PowerApps solution.  I prefer to use as few Flows as possible when building a PowerApp (low-flow LOL) so I am always looking for a workaround.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard