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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

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 the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (40,293)