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.
Solved! Go to Solution.
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:
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,
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:
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,
That was the information I was after. Thank you very much.
Thanks also for the tip on Developer Tools.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
213 | |
194 | |
82 | |
58 | |
38 |
User | Count |
---|---|
304 | |
255 | |
119 | |
84 | |
55 |