
Hi every one , I have ha ve a problem is that when i create an item in Sharepoint online list using patch and on submit form i create a collection which stores that list data.Now i showing my list data in gallery using that collection. I want that when i select that when i edit item from that gallery mean collection the same data should be eidt on Sp list item how it can be possible.
Hi @Anonymous,
My understanding is that you use a SharePoint list to create a collection, then you use this collection as the data source of the edit form, but you want to edit the same item in SharePoint list when submitting this form. If so, then you should add a submit button and set its OnSelect property to something like:
Patch(ListName,{ID:Value(DataCardValue16.Text)},{Title:DataCardValue9.Text,.....,.....})
DataCardValue16 is the textinput control's name that has the ID column data card of your edit form.
Regards,
Mona