cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HN
Level: Powered On

Edit data from collection and save it on SharePoint List

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Edit data from collection and save it on SharePoint List

Hi @HN,

 

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)},{TitleSmiley Very HappyataCardValue9.Text,.....,.....})

 

DataCardValue16 is the textinput control's name that has the ID column data card of your edit form. 

 

Regards,

Mona

 

Community Support Team _ Mona Li
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
Community Support Team
Community Support Team

Re: Edit data from collection and save it on SharePoint List

Hi @HN,

 

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)},{TitleSmiley Very HappyataCardValue9.Text,.....,.....})

 

DataCardValue16 is the textinput control's name that has the ID column data card of your edit form. 

 

Regards,

Mona

 

Community Support Team _ Mona Li
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
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

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