cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
msmith
Level 8

Patch

I have been using the Patch command to take multiple forms from different pages to submit a SharePoint list. It is working great for new items, but how would I do it if I wanted to save instead.

 

I am using 'form1'.update,'form2'.update,....

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Patch

Hi @msmith ,

Do you want to edit an existing record by using several forms?

I've made a similar test for your reference:

1)Set form1's item and form2's item to the same record

Set form1's DefaultMode and form2's DefaultMode to Edit

2)Set the submit button's OnSelect:

Patch(tablename,Gallery1.Selected,Form1.Updates,Form2.Updates)

On your side, you could try:

Patch(tablename,the item that you want to edit,Form1.Updates,Form2.Updates,Form3.Updates,...)

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Patch

Hi @msmith ,

Do you want to edit an existing record by using several forms?

I've made a similar test for your reference:

1)Set form1's item and form2's item to the same record

Set form1's DefaultMode and form2's DefaultMode to Edit

2)Set the submit button's OnSelect:

Patch(tablename,Gallery1.Selected,Form1.Updates,Form2.Updates)

On your side, you could try:

Patch(tablename,the item that you want to edit,Form1.Updates,Form2.Updates,Form3.Updates,...)

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 198 members 4,559 guests
Please welcome our newest community members: