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

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,831)