In this blog post we will learn , how PowerApps submit multiple forms to SharePoint list?, how PowerApps patch multiple forms ?, how PowerApps submit multiple forms to one record?
PowerApps submit multiple forms to SharePoint list
Sometimes, business needs to enter more details in the Line Items and maybe in this case we went to divide the screen to tabs and put in each tab a form of some fields that related to each other’s. So how to submit multiple forms in one button in Power Apps to the same record in the SharePoint List?
PowerApps Submit form
To save any changes in a Form control to the data source, use the SubmitForm function in the OnSelect property of a Button control.
SubmitForm( FormName )
FormName – is required. Form control to submit to your data source.
This is how PowerApps submit one form in button click, also you can use the Patch function to submit data to your data source for more details check this Article.
PowerApps Patch multiple forms
In this example we will learn how PowerApps submit multiple forms to SharePoint list.
To submit Multiple forms we will use the patch function with the forms control.
Patch('Travel Request',Defaults('Travel Request'),frm_Request_Part1.Updates,HotelForm1.Updates,'Flights Form'.Updates)
This will Submit multiple forms at the same time in one button to one Record using PowerApps.
It will tell PowerApps to patch into your list the PowerApp item that takes all of your list’s default column values and replaces them with the updated values you entered in each . So the result is to submit multiple forms in Canvas app to a single record.
- Nested Collection In PowerApps :3 Level
- How To Use PowerApps DateDiff Function?
- PowerApps Parse JSON Example
- How To Use Switch Function In PowerApps?
- PowerApps Lookup Function Examples : Complete Tutorial
- Have a related question? Please ask it at deBUG.to Community.