cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Updating a SharePoint List from a collection containing uneditted item, editted items and new items

Hi

 

I have a collection which contains uneditted items, editted items and new items.  I need to update the corresponding ShArePoint List.  (It is a child list hanging off a master list)

 

I can get the new items by doing a filter on ID ="".and I assume I can then use a Patch to create the new list items (or even a collect(<SharePointList>, New Items) ?.

 

Is there a way I can identify the updated items easily.?

 

I can get all of the items by a filter, but that gets me all of the items meeting that criteria, uneditted and editted, I just need the editted ones.

 

Any Ideas ?

 

Regards

 

Nigel

 

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Updating a SharePoint List from a collection containing uneditted item, editted items and new it

How do you collect the Edited items in the collection?

 

The possible way should be:

1. There is a field used to track the Edited time, so when filter the List, we could identify the Edited items based on the different time when first saving the list into the collection.

2. Create another collection to hold the Edited Item, and then remove them from the old collection.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Updating a SharePoint List from a collection containing uneditted item, editted items and new it

i want to ask the same question as well, is there any solution for this?

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Updating a SharePoint List from a collection containing uneditted item, editted items and new it

Hi

 

Only Michael's above ie create a collection with the new items, create another collection with the editted items and then add / update based upon which collection they are in.

 

Regards

 

Nigel

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

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 designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,223)