cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RyanCharnock
Level: Powered On

Multiple Forms Submit to SharePoint List with Customized Edit form

I have a single SharePoint list where the Entry form has been customized with PowerApps. The form has multiple tabs(Screens) and a different form for each screen (4 in total). I am currently using the patch function for the OnSave (see below) which works great for new entries but when used for and edit it clones the current record which has the udpates, and the orginial record is unchanged. 

 

I read that the Defaults(lstDjSR) - is used for creating new recrods, I am not sure how to do an update on the existing one. 

 

 

Patch(lstDJSR,Defaults(lstDJSR),frmJobInfo.Updates, frmDeliveries_1.Updates, frmInstructions.Updates, frmInstructions_1.Updates); 

ResetForm(frmJobInfo);

ResetForm(frmDeliveries_1);

ResetForm(frmInstructions);

ResetForm(frmInstructions_1);

RequestHide()

 

 

1 REPLY 1
Pat_Wickramage
Level: Powered On

Re: Multiple Forms Submit to SharePoint List with Customized Edit form

As you have figured out, 'Defaults' is for new records.

 

Read the below article, it has the answer to your question.

 

https://powerusers.microsoft.com/t5/General-Discussion/Using-the-Patch-function-to-either-create-OR-...

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,964)