cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Helper III
Helper III

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,457)