web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch versus SubmitForm
Power Apps
Answered

Patch versus SubmitForm

(0) ShareShare
ReportReport
Posted on by 310

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?

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

    @Canadiansal
    You 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."

  • notj Profile Picture
    782 on at

    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)
  • rebeccas Profile Picture
    2,591 on at

    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. 

     

  • kmw1130 Profile Picture
    988 on at
    @Notj
     
    I'm using a Patch to patch my screens, but the only one that is saving to my SharePoint list, is the fist screen, the others are not saving the data.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard