Is it possible to move a list item with virsion history and attachments between folders [based on a property value]


Badge

Hello, I am attempting to move a list items between 4 folders (within the same list) - based on a list item value. It is critical that the version history and the list item attachment also move with the list item. How can this be performed?


4 replies

Userlevel 5
Badge +14
Badge +6

There's a simpler way. Use SPFile.MoveTo(new_url) method either via REST or just by moving it in Explorer View (WebDAV).

Userlevel 7
Badge +17

Hi! Just pinging to find out whether you found a solution or still looking for it? If yes (if you found) - can you write here how you achieved that? If any from the given answers helped you please mark it as "Correct". Thanks!

Regards,

Tomasz

Badge +2

It was about a list item not a document.

Reply