Notifications
Announcements
I am learning that the Patch Function and the SubmtForm does the same in terms of updating the SourceData. What is the difference? and When do I use one versus the other?
@CanadiansalYou are correct: SubmitForm and Patch do the same thing.SubmitForm - use this to create/update a record when using an Edit Form in your canvas app.Patch - use this to create/update a record using data from any inputs not inside an Edit Form.
---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."
In addition to what @mdevaney describes, you can use patch to submit multiple forms.
An example:
Patch( SharePointSourceList, GalleryRecentItems.Selected, Form1.Updates, Form2.Updates, Form3.Updates, Form4.Updates); Navigate(ScreenSuccess)
Typically I use Patch if:
Only changing a one or two fields
Changing or Creating data that is not entered by user (button click updates status or something like that)
Updating items in a gallery
Just can't make my screen layout work in a form
Unless you have a REASON to use Patch then use SubmitForm is my suggestion.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268