How to take list backup with lookup columns data in sharepoint 2010

Hi friends,
I have one issue on "Copy the list in one sitecollection to another sitecollection"
I have one list like "ABC" and with lookup column "Status" this column is looked to anthor list columns
My task is i want to Copy the same list with lookup columns with Data(lookup columns Data) in one site and restored in another site.
Error  is Lookup columns Data is not coming.
How to Copied list with lookup columns data to restored in another list?
Badri

i think there is no such method to move the list with lookup column. 
couple of things which cause the failure, Number Source list may be not available on the target site collection, Column IDs / List IDs different from Site collection a to B.
I would try to use the backup of site collection and restore it, i am not sure whether it will work not.
i think copy the data from the lookup clomn in the excel, then move the list to different site collection with blank data then copy the data from excel to new list.
check this one for another idea:
http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Similar Messages

  • How to take full backup with expdp

    two node rac
    5 node application
    windows
    version 10.2.0.4
    can you please correct me below query to take full backp with expdp
    expdp directory=datapump_dir dumpfile=full_dbexp.dmp logfile=expdp_full.log full=y

    856483 wrote:
    any suggestions plsPatience, Grasshopper
    You posted this follow-up a mere NINE minutes after your previous post.
    This forum is not a chat line, and it is not paid support.
    No one is responsible for monitoring it and giving a quick response.
    Furthermore, it is a global forum. The person with the information you seek may very well live 20 time zones away from you and was going to bed just as you posted. He will not even see your post for several more hours.
    Your original post went up in the middle of the night for half the world.
    No one with the information you seek is deliberately withholding it until you sound sufficiently desperate.

  • How to Copy list item attachment to document library in SharePoint 2010

    Hi,
    How to Create a folder ("List Item - Title Name") in Document library and copy list items Attachments to the same folder in SharePoint 2010,thanks in advance.
    Regards,
    Selvan.J
    Selvan J

    Hi,
    You should first check whether the folder exists in the library, if the folder not exists, then create it.
    I had modified the code, you can use the following code snippet to achieve it.
    private void EventCopyFileWhenItemCreatedOrUpdated(SPItemEventProperties properties)
    SPSite site = new SPSite(http://YourSiteName);
    SPWeb web = site.OpenWeb();
    SPList doclibList=properties.Web.Lists["YourLibName"];
    bool foundFolder = false;
    if (doclibList.Folders.Count>0)
    foreach (SPListItem fitem in doclibList.Folders)
    if (fitem.Title.Equals("FolderA"))
    foundFolder = true;
    break;
    if (foundFolder == false)
    SPListItem folder = doclibList.Folders.Add(doclibList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder,"FolderA");
    folder.Update();
    string fUrl = doclibList.RootFolder.ServerRelativeUrl+"/FolderA";
    SPFolder myLibrary = web.GetFolder(fUrl);
    if (properties.ListTitle == "YourListName")
    SPListItem sourceItem = properties.ListItem;
    properties.Web.AllowUnsafeUpdates = true;
    //get the folder with the attachments for the source item
    SPFolder sourceItemAttachmentsFolder =
    sourceItem.Web.Folders["Lists"].SubFolders[sourceItem.ParentList.Title].SubFolders["Attachments"].SubFolders[sourceItem.ID.ToString()];
    //Loop over the attachments, and add them to the target item
    foreach (SPFile file in sourceItemAttachmentsFolder.Files)
    if (CheckFileNameExist(file.Name , properties) == false)
    byte[] binFile = file.OpenBinary();
    myLibrary.Files.Add(System.IO.Path.GetFileName(file.Url) , binFile);
    private bool CheckFileNameExist(string fileNameInFileAttach, SPItemEventProperties properties)
    bool flag = false;
    SPList myDocumentLib = properties.Web.Lists["YourLibName"];
    SPQuery spQuery = new SPQuery();
    SPListItemCollection items = myDocumentLib.GetItems(spQuery);
    foreach (SPListItem item in items)
    if (fileNameInFileAttach == item["Name"].ToString())
    flag = true;
    break;
    return flag;
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Move sharepoint 2010 list to 2013 with lookup columns

    Hi all,
    Iam planning to move my sharepoint 2010 list to 2013.I done this using save site as template.But the look up columns are showing empty data.Can u please let me know the best solution to do this.
    Regards,
    Praveen

    The reason the lookup column doesn’t work anymore in your SharePoint 2013 list is because Save
    Site as Template, preserve all the list settings. Therefore, the lookup column still points to the original list which
    was located on your SharePoint 2010 list. The lookup column stores GUID of the web, list, and the field to which it points
    and GUID are unique IDs that identifies a list/library/site/feature in a farm.
    Using SharePoint Manager you can find the LookupList, LookupWebId and LookupField of
    your old SharePoint 2010 lookup column and compare it with your new 2013 lookup column. You will see the difference.
    There are two approach to get your values in lookup again.
    1(a). Create a new list and update the lookup values.
    1(b). Delete the lookup column and create a new lookup column and point it to the new list created in the above point.
    2. Update the SchemaXml property
    of the lookup column through SharePoint Manager.
    I will provide you with a good reference on how to use SharePoint Manager while managing your lookup columns. http://blog.johnsworkshop.net/moving-lists-with-lookup-columns-inside-your-site-collection/
    Please remember to click 'Mark as Answer' and Vote as Helpful if the reply answers your query.

  • Save site as template with lookup columns

    Hi,
    I created site template from my subsite where I use custom list with lookup columns and parent child list relationship, but If i create new subsite with the custom site template I get more errors:
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace:   
     at Microsoft.SharePoint.SPWeb.GetList(String strUrl)    
     at Microsoft.SharePoint.SPListInstanceElement.EnsureListExists(SPWeb web, Boolean bCreateFromSTP, Boolean bUserFeature)    
    Failed to instantiate list 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\Features\HierarchyTasksList\hierarchy'
    Application error when access /_layouts/15/newsbweb.aspx, Error=<nativehr>0x8107058a</nativehr><nativestack></nativestack>Unable to perform the operation. Please try again.  
     at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
    Int32& plWebTemplateId)    
     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32&
    plWebTemplateId)
    Unknown SPRequest error occurred. More information: 0x80070002
    Can anyone help me, how can I create subsite what I can use more times?
    Thanks,
    Mykie

    Hi Tailorworld
    please try the power shell script because you are facing problumn with default content type feature
    Run the SharePoint 2010 Management Shell as Administrator.  
    Run the following command to disable the default content type feature:
    Disable-SPFeature –Identity ctypes –url http://SiteCollection
    Then enable the content type feature:
    Enable-SPFeature –Identity ctypes –url http://SiteCollection
    If you look at your content types, they should now all be there.  Try saving the subsite as a template again, it should succeed.
    --------OR----
    You can try Check the link
    http://sharepoint.stackexchange.com/questions/32076/unhandled-exception-when-saving-a-site-as-a-template
    https://support.office.com/en-ie/article/Save-a-SharePoint-site-as-a-template-5a4eb024-d1fa-4681-a4ac-e6bd1e3209ba
    Please mark the Answer and Vote me if you think that it will help you to resolved your issue

  • List Threshold on Lookup Column

    Hi
    I have a large list having more than 5000 items (Say 'Main' List). There is a 'Child' list having a lookup column to the 'Main'. And once we try to add/edit items, the form comes up with 'This is a lookup column that displays
    data from another list that currently exceeds the List View Threshold defined by the administrator (5000).'
    Now I understand we can change this throttle in Central Admin(increase from 5000 to say 50,000) but I would really like not to change that limit (SQL Table locking etc etc.). My simple and probably naive question is how SharePoint architects currently create
    solutions with look up functionality? I can probably think of many business reasons even normalized tables having more than 5000 records and if a lookup is required from it, we are really hitting a dead end.
    Organizing items in folders does not help as even though it works around threshold limit on views, it doesn't while having a look up (as this queries everything in the parent list) on New/Edit forms.
    Please suggest.
    Thanks

    Thanks for the reply.
    Hmm......I am really not comfortable changing the throttling but it would be a good idea to keep it in it's own DB so that locking does not effect any other DBs within the DB Server.
    On another note, I am really tempted to say that this really is a limitation on SharePoint as I see it and I would tell why. I could think of many reasons why a table could grow way beyond 5000 records. Examples of some (Structural) information tables:
    a) Projects b) Customers c) Vendors/Suppliers etc etc etc
    And all the above information could be required in so many different systems and one example is 'Issues'. An issue is related to a specific Project, Customer and this System all this information has to be a lookup from Projects/Customer List. The base lists
    (Projects/Customers) could well be over 5000 items in any mid to big size company.
    These base lists also could not be divided into different lists ('Projects Parts A', 'Projects Part B' and so on...) as well as the consumption list (in above example 'Issues') has only one lookup to a project and in this lookup we need to have all projects
    from 'Projects Part A', 'Projects Part B' etc.
    I am all up for re-architecting a solution but in a simple scenario like above, what would be the suggestion(s)?
    Thanks

  • How to do a backup with time machine?

    Hi Communitieee,
    I dont know how to make a backup with time machine. Can anybody help me?
    And i have another question.. whats wrong with library? when i start my mac the message is popping up but i dont know what it means..
    Thanks
    KR

    Ok thanks mende1.
    Whats with time machine? I already take a look to the link but i could not find the answer of my problem. Can you please take a look of this screenshot?!
    I dont have an extern hard drive. i just want to save my pics and the other data of my mac.

  • How to take schema backup

    Hi All,
    Can you please tell me how to take schema backup.
    DB : 10.2.0.2
    Thanks in advance.

    1. 1. what is the time difference between for this two utilities to export the data for a schema, i.e "expdp" and "exp"?Go for EXPDP
    2. If i using COMPRESSION option in "expdp" utility, how many times data size will be reduced to original size?When “Y”, export will mark the table to be loaded as one extent for the import utility. If “N”, the current storage options defined for the table will be used. Although this option is only implemented on import, it can only be specified on export.
    3. 3. With out importing the data, how can i check the data which is exported, is correctly exported or not? You can do import with show=y option. This will not import any thing in the database. this will only generate the Sql file and your Export file can be validated. This will work similar to normal import except that this will not insert anything in the database.
    Imp 'userid/password' fromuser=userid touser=userid show=y file=filename.dmp log=logfile.log
    Regards

  • HT1766 how to take message backup through icloud

    Hii
    Please tell me how to take message backup  through icloud.
    Thanks
    Kapil

    Not from iCloud, because it's just one updated backup.
    I would also backup with your computer next time it's more reliable.

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • How to get ALV Display with First column alone in sort

    How to get ALV Display with First column alone in sort

    HI,
    You can build Internal Table and send this to the parameter "IT_SORT".
    eg:
    "the sorting Internal Table structure is as whown below.
    DATA:  t_sort_info type slis_t_sortinfo_alv.
    "Build the Sort Internal Table
      t_sort_info-fieldname = 'CARRID'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
      t_sort_info-fieldname = 'FLDATE'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
    Then pass this "IT_SORT_INFO" table to the Function module "Reuse_alv_*". (Note send the body of the Internal table only like "<b>IT_SORT = IT_SORT_INFO[]</b>".
    Here i am making ALV output sorted on CARRID & FLDATE.
    You can specify only the First Column name for sorting.
    Regards,
    Manju
    Message was edited by:
            MANJUNATHA KS

  • How does iCloud manage app data like whatsapp ? Does it overwrite the data everytime I backup to I cloud with the data on the phone or it merges the data from previous backups with the new data?

    How does iCloud manage app data( like whatsapp) ? Does it overwrite the data everytime I backup to I cloud with the data on the phone when i backup or it merges the data from previous backups with the new data?

    You need to subscribe to iTunes Match to store your music on iCloud:
    http://www.apple.com/itunes/itunes-match/
    To transfer iTunes Store purchases made on your phone to your computer, connect your phone then choose "Transfer purchases..." from the File menu in iTunes.
    Photostream transfers photos taken on your iOS devices to other devices and your computer. For troubleshooting Photostream see: http://support.apple.com/kb/TS3989

  • How to genetare reports(ssrs) with form library's data in sharepoint 2010

    Hi,
    How to genetare reports (ssrs) with form library's data in sharepoint 2010.I am saving infopath(2010) xml form data in form library.I have 500 and more forms in the form library( more forms can come in future).How to generate reports from this xml data (i
    want to make it automate)? Reports should get updated automatically when any changes made to data and if new form entered in the library.
    Please suggest possible solutions.I can not go for code base solution.( somthing SSIS, BCS or web service ....etc or anything else will be fine)
    Thanks in advance.

    Hi,
    According to your post, my understanding is that you wanted to generate SSRS report with form library in SharePoint 2010.
     In order to use the data stored on the InfoPath form, you need to add the controls on the form to be columns in SharePoint(This is the OOTB way without code).
    You can add the control during the publish process:
    Then when you create the SSRS report using the form library as the data source, you can use the fields just as the fields created in SharePoint.
    There is a tool called InfoPath DB in codeplex, you can have a look at it.
    http://infopathdb.codeplex.com/
    More reference:
    http://sharepoint.stackexchange.com/questions/28825/how-to-query-a-form-library-in-sharepoint-2010
    http://sharepoint.stackexchange.com/questions/38492/reporting-against-a-form-library
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to copy Excel sheet data to SharePoint 2010 List?

    Hi,
       I need to export excel data to SharePoint 2010 list. I have created 22 columns in list which are of following Column types:
    Single line of text,
    Multiple line of text,
    Choice
    Number,
    Date,
    Person or Group.
    Now i need to export the excel data to SharePoint list.
    When iam trying to copy data from excel to List , it is showing as "The selected cells are read only".
    can someone guide on this to export spread sheet data to SharePoint list without importing Spreadsheet.
    Thanks in advance.
    Badri

    I've updated the example of using PowerShell to include a Person field (user field) and a choice field.
    The CSV file has the following columns:
    TRIP_NO
    VESSEL_NAME
    FLAG
    AGENT_NAME
    CURRENT_LOCATION
    RPT_DATE
    EMPLOYEE
    EMPLOYEE_TYPE
    #Get the CSV file and connect to the SharePoint list
    $vessellist = import-csv -Path C:\Temp\VesselInPortReport.csv
    $l = (Get-Spweb "http://devmy101").GetList("http://devmy101/Lists/smarInPort")
    #Get the lists EmployeeType field (choice)
    $employeeType = $l.Fields["EmployeeType"] -as [Microsoft.SharePoint.SPFieldChoice]
    #Loop through the items and add them to the list
    $r = 1;
    foreach($item in $vessellist)
    $ni = $l.items.Add();
    #Add the Title, using the rows VESSEL_NAME column
    $ni["Title"] = $item.VESSEL_NAME;
    #Add the "Date Recorded" field, using the csv rows "RPT_DATE" column
    [DateTime]$rd = New-Object System.DateTime;
    if([DateTime]::TryParse($item.RPT_DATE, [ref]$rd)){
    $ni["Date Recorded"] = $rd;
    #Add the csv rows "TRIP_NO" column to the new list items "Trip Id" field (SPFieldNumber)
    [Int64]$tn = New-Object System.Int64;
    if([Int64]::TryParse($item.TRIP_NO, [ref] $tn)){
    $ni["Trip Id"] = $tn;
    #Add some other text properties
    $ni["Flag"] = $item.FLAG;
    $ni["Agent Name"] = $item.AGENT_NAME;
    $ni["Current Location"] = $item.CURRENT_LOCATION;
    #Add user information
    $ni["employee"] = $w.EnsureUser($item.EMPLOYEE); #In this case, the $item.EMPLOYEE value from the spreadsheet is a persons name. Eg. "Matthew Yarlett"
    $employeeType.ParseAndSetValue($ni,$item.EMPLOYEE_TYPE); #In this case, the $item.EMPLOYEE_TYPE value from the spreadsheet is valid choice present in the EmployeeType list field. Eg. "Manager"
    #Update the item
    $ni.Update()
    Write-Host ([String]::Format("Added record:{0}",$r));
    $r++;
    Regards, Matthew
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.
    I just added a webpart to the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • How to take unreconcilled transactions report for a date range ?

    hi all,
    How to take unreconcilled transactions report for a
    data range ?
    we have taken unreconcilled transactons from
    external reconcillation using filter option mentioning
    range of dates,But when we take print out using PLD,
    it showing unreconcilled transactions for all dates.
    But our client requires it as a standard report from SAP ?
    Our client is using SAP B1 2005B PL39.
    Jeyakanthan

    Hi
    Financials -> Financial Reports -> Accounting -> General Ledger.
    In the 'Display' dropdown select, 'Unreconciled' .
    Hope this should help you.

Maybe you are looking for

  • Horrible colors in Safari 2.0.4

    Along with the new Mac Pro came Safari 2.0.4, and a surprise that I could do without. The images on my photo-site - www.Peermann.com - are way too contrasty and saturated when viewed in Safari 2.0.4; almost as bad as in ancient versions of Internet E

  • The file "iTunes Library.itl" cannot be read...

    Ok, here's my problem. I'm trying to figure out how to transfer over all my songs, videos & playlists from iTunes to a new computer. I don't have the new one hooked up yet b/c I need to save all my files first. Well, I thought I was going to need the

  • How do I stop out of office message in outlook web exchange on firefox

    A number of ppl ask how to set up öut of office"reply. I have the opposite problem. I set it up when I was using IE. But I cannot see how to stop it from going out. Do I have to go back and make IE my default browser to solve this? (I am using outloo

  • Function Module to retrieve Campaign details.

    Hi All, Please tell me the name of the Function module to fetch the details of Campaign according to external id. I need to fetch 2 fields :- 1. Planned Start Date 2. Planned End Date Regards, Raman.

  • Weblogic Physical Vs VMWare

    Hi, We are planning to build a new enterprise level platform running OSB/WLI/BPEL PM on Windows 2008. We are at crossroads on deciding whether to go for physical Vs Vmware. Since oracle licenses are tied to physical CPU cores, we want to utilise the