cancel
Showing results for 
Search instead for 
Did you mean: 
steve_dark
Nintex Newbie

How to move list items to subfolder - SP 2010 (NW 2010 Standard)

Hi everyone,

 

I'm curious if anyone out there has discovered a way to use a workflow to move lists items to a subfolder within the same list. I've seen a number of threads discussing simply recreating the list item in a subfolder but have yet to see mention of a solution that will allow the original list item to be moved to allow the version history and original item metadata to be retained. I expect we would need to use the call web service action with the Lists web service UpdateListItems method but haven't been able to get this to work for what I need to do.

 

Any clues are greatly appreciated. Thanks!

Labels: (1)
0 Kudos
Reply
4 Replies
shirin
Nintex Newbie

Re: How to move list items to subfolder - SP 2010 (NW 2010 Standard)

Hi Steve,

There is no specific move action.

Current actions, 'Copy Item' and 'Copy to SharePoint' won't help you in this scenario.

You will have to copy the item first then delete it using the 'Delete an Item' action.

Also, using the Call Web Service action you can use the 'UpdateListItems' (http://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems.aspx) method to update and delete list items.

Regards,

Shirin

0 Kudos
Reply
steve_dark
Nintex Newbie

Re: How to move list items to subfolder - SP 2010 (NW 2010 Standard)

Thanks Shirin.

I didn't expect to be able to move with any specific OOB actions and planned to use Call Web Service to call the UpdateListItems method. Do you know which properties would need to be updated for a list item to be moved to a subfolder? I see the following refer to a path in one way or the other but have never attempted to update them - any thoughts?

  • ows_FileRef
  • ows_FileDirRef
  • ows_ServerUrl
  • ows_EncodedAbsUrl
0 Kudos
Reply
krishnendu
Nintex Newbie

Re: How to move list items to subfolder - SP 2010 (NW 2010 Standard)

Hi,

Have you managed to completee the functionality? I am also on the same boat and need help/guidance to resolve it.

Thanks

0 Kudos
Reply
Automation Master
Automation Master

Re: How to move list items to subfolder - SP 2010 (NW 2010 Standard)

have a look on this Vadim Tabakman‌'s post. it's designed for 2013 but maybe it will be applicable for 2010 as well

Nintex Workflow - Archiving a List Item with Workflow History - Vadim Tabakman 

0 Kudos
Reply