How to Archive a list in sharepoint 2010

Hi
I think large list is the inevitable trend and will be a very common issue faced by everyone. We are a medium business using sharepoint 2010.
For past 3 years, one of our SharePoint lists is over 20000 items.
From my end:
1.     I have indexed some important columns and created filtered views but it does not help much.
2. I have increased the list threshold value to 25000( Even though the best practice is 5000).
3. Also,  I have set the list template size to 500MB 
4.     When I try to save the list as a template,  SharePoint throws an exception error.  
5.   I tried working on the code
mentioned in the link
below but it looks complicated for me.
http://spboom.com/sharepoint-development/moving-sharepoint-list-items-to-archive-list/
What I need:
I need to archive old items in the list.  After archiving,  I might need to refer to the archived items from time to time.
As I'm newbie to SharePoint, it would be great, if someone can elaborate in detail with what can be done.
Again your help in this is much appreciated.
Thanks & Regards,
SweR

What vesion of SharePoint are you using?  If you want to move items across from one list to another (as per your prefered option), something like: -
Create a list template of you list with no content
Recreate it on the same level as the main lis
Create an SPD workflowthat'll copy an item to the new list and delete the original.  Make sure it doesn't have a triggering action
Use an Expiration Information Rights Policy to triger the workflow. 
Please note that this won't preserve the original author / create metadata as Alex has already said.
Cheers,
Steven Andrews
SharePoint Business Analyst
Blog:
Steve's SharePoint Space  Twitter:
  LinkedIn:
  Facebook:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • How to Create Custom List in SharePoint 2010 Programmatically ?

    Hi,
    i have tried the following way, 
    http://devendra-sharepoint.blogspot.in/2012/01/creating-list-programatically-in_30.html
    But i am not able to create list.
    Becuase i am getting the following error.
    'Microsoft.SharePoint.SPWeb' does not contain a definition for 'EnsureList' and no extension method 'EnsureList' accepting a first argument of type 'Microsoft.SharePoint.SPWeb' could be found (are you missing a using directive or an assembly reference?)
    Please advice.
    Thanks,
    Aasai

    Hi,
    You can use list.Fields.Add() to add column in list. See below blog:
    http://www.c-sharpcorner.com/blogs/3764/create-sharepoint-list-programmatically.aspx
    Use this to delete list:
    http://www.c-sharpcorner.com/UploadFile/54db21/delete-list-in-sharepoint-2010-programmatically-using-vs-201/
    See this for remove user/group from list:
    http://www.c-sharpcorner.com/UploadFile/54db21/remove-group-permission-to-list-in-sharepoint-2010-programma/
    Hope it could help
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • How to raise mail notification when ever the new event is added to calendar list in sharepoint 2010?

    Hi experts, I need guidance or the way how we can raise mail,
    When ever the new item is added / updated / deleted / cancelled to a calendar list in SharePoint 2010.
    Shall we achieve it through using SharePoint designer 2010.
    If its help to fix the requirement.
    Thanks and Regards,
    Dhayanand Kalimidi

    >I need to send the mail before 1 week from the date
    This is different requirement. Initially you said you want send email when item is added / updated / deleted in list. For this you can use default alert to send instant email as  suggested before. 
    Now if you want to send reminder email then you can use designer WF and calculate the due date by using variable. Refer this link for your ref:
    http://mysharepointchronicles.wordpress.com/2012/11/05/sharepoint-list-with-workflow-email-reminder-set-to-send-30-days-from-created-date/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3211ee00-92de-47f1-b611-4c9609f92ab7/how-do-i-set-sharepoint-2010-to-send-a-reminder-email-a-month-after-a-date-already-listed?forum=sharepointdevelopmentlegacy
    Remember event receiver can not send reminder email or scheduled email so for this either use designer WF or create timer job.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Ribon mising when first opening a list in Sharepoint 2010

    Hello.
    When opening a list in SharePoint 2010, I do not get the ribbon. If I click on a list item, the ribbon appears. Then I can come back to the original task I had in mind.
    Can you advise how to fix it so that the ribbon always appear when loading a list?
    Thanks a lot.

    Thanks dear Alex,
    Probably... I am not the programmer, but the user. The programmer told me that it was impossible to have the ribbon available unless an item of the list is clicked on first, so I wanted to investigate if that is true and if there is a way around it. Does
    not seem natural to have to open an item on the list before creating a new one.

  • How to block specific DL in SharePoint 2010 application.

    Hi All,
    We have SharePoint 2010 farm. I have a requirement to block specific Distribution List which should not recognized when user trying to give access at (user.aspx page)site level.
    How can i  restrict this in SharePoint 2010 farm.
    Regards
    S. Mani

    You can use content editor webpart to run javascript. Java script will redirect users from accessing the site. You need t o specify the user Id; it wont work on DL
    Blow is the java script:
    ==================Script Start ===============
    ExecuteOrDelayUntilScriptLoaded(getWebUserData, "sp.js");
    var context = null;
    var web = null;
    var currentUser = null;
        function getWebUserData() {
            context = new SP.ClientContext.get_current();
            web = context.get_web();
            currentUser = web.get_currentUser();
           currentUser.retrieve();
            context.load(web);
            context.executeQueryAsync(Function.createDelegate(this, this.onSuccessMethod), Function.createDelegate(this, this.onFailureMethod));
        function onSuccessMethod(sender, args) {
            var userObject = web.get_currentUser();
            if (userObject.get_loginName() == 'i:0#.w|domain\userid')
               window.location="/businesses/pulpandfibre";
        function onFailureMethod(sender, args) {
            alert('request failed ' + args.get_message() + '\n' + args.get_stackTrace());
    =============Script End===============

  • Reading and writing data to a list in Sharepoint 2010.

    I'm having difficulty writing data to a list in sharepoint 2010, the reading the information is going fine, but I just tried writing data, and it's not working well.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ListQuery.StudentsList;
    using System.Xml.Linq;
    using System.Net;
    namespace ListQuery
    class Program
    static void Main(string[] args)
    XNamespace ns = "#RowsetSchema";
    ListsSoapClient soap = new ListsSoapClient();
    XElement query = new XElement("Query");
    XElement options = new XElement("QueryOptions");
    XElement view = new XElement("ViewFields");
    soap.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
    XElement list = soap.GetListItems("Students", null, query, view, "900001", options, null);
    foreach (XElement descendent in list.Descendants())
    descendent.SetAttributeValue("ows_fullName", "I am sparticus");
    soap.UpdateListItems("Students", list); // ERROR LINE
    var asdf = from x in list.Descendants()
    where x.Name == ns + "row"
    select x.Attribute("ows_fullName").Value;
    foreach (string blah in asdf)
    Console.WriteLine(blah);
    Console.WriteLine("\n\t--Process Completed--");
    Console.ReadKey(true);
    I wrote a comment showing the line where the code had a break in execution. The error I'm receiving is this,
    "Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown."
    Any help is appreciated, thanks!

    Puil, I decided to go with your idea, but when trying to connect to the data source at listdata.svc using the add data connection wizard, at the very end upon clicking finish I get an error "System.Exception", this is what shows up in my error list.
    Error 1 Custom tool error: Schema specified is not valid. Errors:
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Relationship' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_CreatedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'FromRole' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Relationship' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_ModifiedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'FromRole' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Relationship' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_CheckedOutTo' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'FromRole' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_CreatedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Type' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0019: Each type name in a schema must be unique. Type name 'Microsoft.SharePoint.DataService.' was already defined.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_ModifiedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Type' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0019: Each type name in a schema must be unique. Type name 'Microsoft.SharePoint.DataService.' was already defined.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_CheckedOutTo' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Type' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0019: Each type name in a schema must be unique. Type name 'Microsoft.SharePoint.DataService.' was already defined.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '_10' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'EntityType' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_CreatedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Association' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_CreatedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'EntitySet' attribute is invalid - The value '_10' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_ModifiedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Association' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_ModifiedBy' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'EntitySet' attribute is invalid - The value '_10' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Name' attribute is invalid - The value '__10Item_CheckedOutTo' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Association' attribute is invalid - The value 'Microsoft.SharePoint.DataService.__10Item_CheckedOutTo' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TQualifiedName' - The Pattern constraint failed.
    (0,0) : error 0005: The 'Role' attribute is invalid - The value '__10Item' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.
    (0,0) : error 0005: The 'EntitySet' attribute is invalid - The value '_10' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed. c:\users\wileym\documents\visual studio 2010\Projects\ecomms\ecomms\Service
    References\studentList\Reference.datasvcmap 1 1 ecomms
    It seems the schema is all wrong... Any help would be appreciated.

  • Uploading Multiple Documents To a List Item sharepoint 2010

    hi Guys ,
    Is there a way we can enable (out of the box )Uploading Multiple Documents To a List Item sharepoint 2010 ?
    cheers

    No, There is no OOB way to do the same you have to build a custom Page/Control OR customise OOB Form to attache multiple files and that will be through integration of ajax based control (multiple file uploader.)
    the other way to do the same is provision a custom field. we have done this for our many  clients.
    Hi, I also encountered the same problem, could u pls provide detailed information by a custom field?

  • How to create a custom Contacts list in SharePoint 2010 from accounts already in AD

    Hi folks,
    Newbie to SharePoint but not to being an Administrator.  Problem is that in my new functions I no longer am an Admin.
    I have been asked to post contact lists (Excel) on the SharePoint site.  (fairly easy to do)
    But I though....we already have these people in AD and the GAL
    Why can't I just import what I want only and display that in SharePoint.
    I assume this is possible?
    I do not have SharePoint designer nor any programming experience....so no coding for me.
    Running SharePoint 2010 and Outlook 2010
    Can anyone guide me or give me info on how to do this?
    I do not want everyone in the AD/GAL.  Just some specific names with their contact info

    Hi,
    Please check this
    http://beyondweblogs.com/update-user-profile-in-sharepoint-programmatically/

  • How can I change the width of a column in a list of sharepoint 2010 ?

    How do I change the column width in sharepoint 2010 so the data displays properly in standard view?
    I open the list View in sharepoint designer,and change the width of the <td> ,but ,when I preview ,the column width don't change. what should I do?

    While they may auto adjust to what it thinks is a correct width, far too often it allocates way too much room and that causes lists with 4 columns to be much longer than they need to be and without the ability to adjust them, lists look strange.
    http://twitpic.com/23ro09/full is an example of the first column having been allocated too much room.
    Denzel

  • How to design SSRS report using SharePoint 2010 List Version History

    Hello,
    I am using  Sharepoint 2010 list, i need to design SSRS report using Sharepoint List Version History. Could please let me know how to design.
    Thank you.
    Kind Regards

    You could do that with SQL Server Reporting Services, Please follow the instructions from the link below:
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Hope that would work fro you.
    Please Mark as Answer, if the post works for you.
    Cheers,
    Amar Deep Singh

  • How to Color code the list items if Issue Tracking lists in Sharepoint 2010 SP1

    Hi, Can any one guide me in making the list tasks color coded according to the status of the issue.
    as if issue is Resolved ( green line ), Active ( red line ) etc.
    example as following:
    I have read a lot of blogs, but none have step by step guide. a step by step guide will be excellent. Thanks in advance.
    http://blog.pathtosharepoint.com/2009/02/26/highlight-rows-in-sharepoint-lists/
    http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/
    etc
    Thanks.

    Do you have SharePoint Designer 2010 installed?
    Open your site in sharepoint designer
    click lists and libraries
    click the name of your list
    in "views" on the right, click "new..." and give it a name.
    in this new view of the list, click in one of the cells of the actual list of issues, so that the contextual ribbon at the top will give you all the options you need.
    Click "Conditional Formatting" in the ribbon.  This will let you pick "row".
    Then you just have to define your conditions:
    if priority is equal to (3) Low, then pick yellow as the background color.  Do the same type of thing to create the other 2 conditions.
    Laura Rogers
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    Books:Beginning SharePoint 2010: Building Business Solutions with SharePoint
    Using InfoPath 2010 with Microsoft SharePoint 2010 Step by Step

  • Multiple filters in a drop-down list in SharePoint 2010 browser forms

    I am using Infopath forms based on SharePoint 2010 lists. I am trying to filter a drop-down control based on inputs in two previous controls such that it looks up information in a list and returns options where A = A and B = B. This filter works when using
    Preview in Infopath 2010, but does not work on the list itself on publishing; it only filters where A = A. The B = B filter is ignored.
    1) Is there a workaround I can use so that the browser form respects the filter in the same way the Infopath form does?
    or, if not:
    2) Is there a way to force SharePoint 2010 to open up "new item" or "edit item" in InfoPath instead of in a browser form?
    Thanks.

    Thanks for your help!
    1) That was my concern. When I googled around, it seemed like it wasn't possible to do filters at all in DLL in browser forms, yet I had one that was working. So I was curious why one worked but two didn't.
    2) When I try to publish an InfoPath form from Designer that's based on a SharePoint list, the only option it gives me is to publish to that list, not to a document library.
    2a) If I did figure out how to do it, would it still submit the information to the list? I don't want a form library scenario where each list item is its own form based on a single template, I want a list I can also manage with Access.

  • Validation settings for a list in Sharepoint 2010 to find if there is a document attached to the list item

    Hi Everyone,
    Greetings!!!
    I have a very peculiar question on List validation settings. I want to validate a list item whether user has attached a document to the list item or not? The list item should not be saved until a document is attached to it. Is it possible to perform this
    validation for a list item in a list?
    Please let me know.
    Thanks,
    Thiru
    Tirumal

    Can be done using java script as below
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c93d7611-f634-4c03-ae0d-3b5ecfe5ca6a/how-to-make-attachment-required-field?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5a3fe11a-75ea-44bd-aab9-80817640290f/how-to-make-an-attachment-required-field-in-a-custom-newform-sharepoint-2010-list?forum=sharepointcustomizationprevious
    Dont think below is right
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fba48bc1-8708-401c-8a37-bc00f77eeae3/making-attachments-required-in-a-custom-list?forum=sharepointadminlegacy

  • Rich text toolbar missing on a survey list in Sharepoint 2010

    Hi , 
    I created a Survey list in SP 2010 and added a 'Content Editor' webpart to it. The problem is that there is
    no Ribbon available in the Survey List in SP 2010. (While it is available in the a normal list) Why? Is it the default functionality of Sharepoint 2010?
    How can I add a rich text toolbar so that while editing the content webpart I can format the text. Is it possible?

    Hi Yasir,
    This behavior is by design. When you add a content editor web part on survey list page, you can only add the plain text.
    Have a try to add a rich text control
     InputFormTextBox to the overview.aspx page in SharePoint Designer, add the following code to code behind.
    <SharePoint:InputFormTextBoxRows="10"MaxLength="1000"id="txtMyRichTextBox"runat="server"RichText="true"RichTextMode="FullHtml"TextMode="MultiLine"
    Height="400px"Width="250px"></SharePoint:InputFormTextBox>
    For more information, see
    http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
    Best Regards.
    Kelly Chen
    TechNet Community Support

Maybe you are looking for