You are currently viewing How PowerApps submit multiple forms to SharePoint list?
how to submit multiple forms in Canvas app to a single record

How PowerApps submit multiple forms to SharePoint list?

  • Post author:
  • Post category:Power Apps
  • Reading time:4 mins read

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.

Syntax

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.

Syntax

Patch(DataSource,Defaults(DataSource),Form1.Updates,Form2.Updates,Form3.Updates,....)
Patch('Travel Request',Defaults('Travel Request'),frm_Request_Part1.Updates,HotelForm1.Updates,'Flights Form'.Updates)
powerapps submit multiple forms to sharepoint list
PoweraApps submit multiple forms to SharePoint list

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.

See Also
Join us
Need Help
  • Have a related question? Please ask it at deBUG.to Community.

Heba Kamal

Microsoft MVP, MCT, Technical Speaker, Blogger, and Microsoft 365 and Power Platform Consultant.