cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Differences between Collect and Patch Default

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
Highlighted
Community Support
Community Support

Re: Differences between Collect and Patch Default

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

Highlighted
Frequent Visitor

Re: Differences between Collect and Patch Default

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

Thanks also for the tip on Developer Tools.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,129)