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 / ForAll then Patch Vs C...
Power Apps
Unanswered

ForAll then Patch Vs Collect then ForAll

(0) ShareShare
ReportReport
Posted on by 3,514

I have a SharePoint datasource named SNMItems and a collection named colSItems..

 

Now on the OnSuccess of the form >> i want to add the items inside the collection to the SharePoint list. i can do so using these 2 syntax:-

 

patchthemto did not use.png

 

OR

 

patch the collection to SharePoint list.png

 

now if we ignore the IsBlank check in the second syntax.. is there any technical differences between the 2 approaches?

thanks

 

 

 

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

    @johnjohn123 

    It will produce the same result.  But you want to know the performance story open Power Apps monitor.  That will tell you the story of what’s happening behind the scenes.

     

    ---
    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."

  • johnjohn123 Profile Picture
    3,514 on at

    @mdevaney  Generally speaking which approach is more feasible concerning performance?

    Thanks

  • Ashwin7104 Profile Picture
    671 on at

    Hey @johnjohn123 ,

     

    Collect function execution is better compared to Patch. Please refer the below link

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Differences-between-Collect-and-Patch-Default/td-p/291715  

  • mdevaney Profile Picture
    29,991 Moderator on at

    @johnjohn123 
    What I'm saying is you can determine this for yourself by opening up Power Apps monitor.  You can see the length of time each takes to perform and the number of API calls.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 408

#3
timl Profile Picture

timl 339 Super User 2026 Season 1

Last 30 days Overall leaderboard