cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NigelP
Level 8

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
Community Support Team
Community Support Team

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.
kelvinyeong
Level: Powered On

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?

NigelP
Level 8

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,149)