cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Differences between Collect and Patch Default

Hello Everyone,

Is there any difference between using Collect to create a record in a sharepoint and using Patch(Default) to create the same record?

I've read somewhere that Patch wouldn't affect the ID for the records, but just tested it and I couldn't see any difference between the two commands.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Marcelo_br ,

The Collect function and Patch functon both could save a new record into a data source. But Collect function could not be used to modify an existing record within your data source, the Patch function could achieve this.

 

In addition, Collect function and Patch function have some difference between execution speed. The execution speed of Collect function is faster than Patch function:5.JPG

On your side, you could quickly measure your the two function's execution performance by turning on Developer Tools in your Edge or Chrome.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @Marcelo_br ,

The Collect function and Patch functon both could save a new record into a data source. But Collect function could not be used to modify an existing record within your data source, the Patch function could achieve this.

 

In addition, Collect function and Patch function have some difference between execution speed. The execution speed of Collect function is faster than Patch function:5.JPG

On your side, you could quickly measure your the two function's execution performance by turning on Developer Tools in your Edge or Chrome.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

That was the information I was after. Thank you very much.

Thanks also for the tip on Developer Tools.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (10,185)