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

Announcements

News and Announcements icon
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,991 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
    995 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard