cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Move List item with attachments and version history

This is about List Items - NOT document libraries.  For SharePoint Online.

 

With Content and Structure going away, how can we move a list item, with its attachments and version history to an archive list (with the same list structure of course).  I know I could write a flow to copy it (the attachments are troublesome but possible) and then remove it from the source list.  However, what about version history.  This allows us to keep track of all the changes the users did and who did them.  From an audit perspective, we need that if there was ever a problem.  I really wish MSFT had created a Move To and Copy To for list items like they did for document libraries!!!!  That is a really big miss.  There are 3rd party solutions but that means coughing up $$$ for something which was included before.

5 REPLIES 5
Kudo Kingpin
Kudo Kingpin

@PhilipCaldwell , I think this task is easy through using CSOM. If you intrested i will send you, I have code for copying document library with version history from one site to another site but it can be change for list as well. 

 

Thanks,

Harry_G

Sure, I'd love to see your sample code.

Hi, 

 

i'm looking for that also, do you get it work with Power Automate?

 

Thanks,

YHLow

Is this something that can be shared with the rest of the community? 

@SPJ3nney yes please follow the link for copying files, I just have to give an idea for copying list items however this is file copying code not list items.

https://github.com/alimughalx/CopySharePointFilesWithMetaDataAndVersionHistory 

 

Thanks,

Harry_G

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (75,226)