Introduction

Patch() is a powerful function in Power Apps that lets you create or update records directly in your data source, without using a form. It’s perfect for apps where you want more control over how data is saved, or when you need to update multiple fields at once.

Features

Advantages

Disadvantages

Step-by-Step: Using Patch() in Power Apps

Step 1: Open Power Apps

Step 2: Create a Canvas App

Scr3AppType

Step 3: Add a Data Source

ScrDataSource

Step 4: Insert a Form & Button

scrEditForm

Step 5: Write the Patch() Formula

Patch(
    EmployeeDetailsList,
    Defaults(EmployeeDetailsList),
    {Title: DataCardValue1.Text}
);
ResetForm(EmployeeForm);

Step 6: Show Success or Error Messages

Notify("Record saved successfully.", NotificationType.Success)
PatchFinalLastRecordSave

Conclusion

Patch() gives you full control to create and update records in Power Apps, making it ideal for apps that need custom logic or advanced data handling. While it’s more flexible than SubmitForm(), it requires careful setup and manual error handling. For simple forms, SubmitForm() is easier; for complex scenarios, Patch() is the way to go.