Best way to archive multiple lists
-
Tuesday, June 12, 2012 4:29 PM
I have three lists.
One is a list with a project name as a description for a hyperlink field - Project name is unquie in this list (although not enforced by code)
The other two are lists with with a text field that hold project name - one holds many records for a given project, the other but one.
The BO wants to be able to archive all items for a project at once, and then be able to change their mind and unarchive them if needed. Is there a non .net code idea for doing this? I would happily consider a SPD workflow to do this if I could only think of one that wasn't ridiculous..
The requirements for this site are becoming increasingly demanding and I sure wish SP was a relational DB.
All Replies
-
Friday, June 15, 2012 3:37 AMModerator
Hi Lalewicz,
I think you should create custom timer job to move list item from your original list to archive list.
Here is the some reference link for your information
http://www.spsamples.com/2011/07/moving-sharepoint-list-items-to-archive.html
Of course, you can define some Expiration on your Information Management Policy. You can refer to the following link.
http://blogs.msdn.com/b/recman/archive/2006/06/16/633393.aspx
http://technet.microsoft.com/en-us/library/cc262490.aspx
You said they are able to change their mind and un-archive them if needed, this is implement difficultly. So, you must develop custom code to reserve the data from your history list, then give back it to your list.
Thanks,
Jack
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Friday, June 22, 2012 9:42 AM
- Unmarked As Answer by Lalewicz Saturday, June 23, 2012 2:17 AM
-
Saturday, June 23, 2012 2:17 AMWell part of the problem is I would like to have one of the three lists control what happens to the other 2. So if they decide to archive an item from the one list, it seeks the records from the other two lists that correspond and archives them as well. And if they unarchive the list item, it unarchives the other two list items as well. I am pretty sure that without custom code this will not happen. But was hoping and wondering if there was a way to do it will SPD workflow actions.
-
Saturday, June 23, 2012 2:18 AM
Also your first link does not go to anything.

