Power apps patch function

The Patch Function in PowerApps is used to change individual or multiple entries in a data source. PowerApps Patch, on the other hand, is used to update records in a data source without changing other values.

This indicates that only the field value you gave in the formula will be updated.

Step 1:

Create a share point list and change title name and add required columns

Now add the sharepoint list in canvas app

Step 2:

Now we need to save the name and number data in sharepoint list

Patch function:

To add a record to the Data source, we can utilise the Patch with Defaults function. This formula below helps in record creation.

Patch(‘For Blog’, Defaults(‘For Blog’), {Title:TextInput3.Text, Number:TextInput4.Text})

Save and Publish the App

Now, Play the app and enter Data and submit

Now check in the sharepoint list

its working