cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous ,

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.

View solution in original post

1 REPLY 1
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous ,

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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,584)