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 Apps
Suggested Answer

Patch and Navigate

(1) ShareShare
ReportReport
Posted on by 22
Good afternoon,
Can you please assist.
 
I use a 'patch' to submit several forms into one line on a List.
I'm trying to add 'Navigate' after the 'patch' but it doesn't work.
 
What is the correct formula to use?
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    706 on at
    Try below :
     
    IfError(
        Patch(
            YourList,
            Defaults(YourList),
            {
                Title: "Test"
            }
        ),
        Notify("Error while saving", NotificationType.Error),
        Navigate(ScreenName)
    )
  • Suggested answer
    MS.Ragavendar Profile Picture
    6,252 Super User 2026 Season 1 on at

    In Power Apps, Patch() and Navigate() do work together, but the key is how they’re chained and whether Patch errors out silently.

    IfError(
        Patch(
            SharePointList,
            Defaults(SharePointList),
            Form1.Updates,
            Form2.Updates,
            Form3.Updates
        ),
        Notify("Submission failed", NotificationType.Error),
        Navigate(Screen_Success, ScreenTransition.Fade)
    )

    https://www.matthewdevaney.com/everything-you-need-to-know-about-power-apps-patch-forms/

    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.

     

  • berkenmi Profile Picture
    22 on at
    @MS.Ragavendar
    I receive the following error when entering the formula
     
  • MS.Ragavendar Profile Picture
    6,252 Super User 2026 Season 1 on at
     
    I don't see the issue with the code also can you please share the full version of the code, try the below code 
     
    Set(
        varPatched,
        IfError(
            Patch(
                Training,// DataSource Name
                Defaults(Training),
                Form1.Updates,
                Form2.Updates
            ),
            Blank()
        )
    );
     
    If(
        IsBlank(varPatched),
        Notify("Submission failed", NotificationType.Error),
        Navigate(UploadFiles, ScreenTransition.Fade)
    )
  • berkenmi Profile Picture
    22 on at
    Here is the full previous code:
     
    And with the new code supplied, there is also the same error with this:
     
  • WarrenBelz Profile Picture
    154,749 Most Valuable Professional on at
    Only coming in to keep this moving - that is not the full code the @MS.Ragavendar posted - actually the first one is completely correct and should be the solution to your issue (so please mark that)  - you left out the first line
    IfError(

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard