Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We accidentally created a few lists at the root of our SharePoint 2010 site and need to move them to a subsite. How do you do this? We tried exporting as a template, but then the list became a library item. Thanks.

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

You're almost there, the next step is to

  • create a new list
  • choose the template you saved
  • after list created delete the template from the library.

Full tutorial (this is talking about between SharePoint servers, but its the same process between siets)

Other ways include

  • If it a simple list you can perhaps use the DataSheet view to copy and paste the data to the new list if you've already setup the structure.

  • You can copy lists with SharePoint Designer IIRC.

  • You can also look at the STSADM gl-exportlist and gm-importlist extensions.

share|improve this answer
    
Thanks, Ryan. Just what I needed :) –  Alex C Jul 12 '11 at 9:51
    
there are dedicated tools on the server side to do this. leaving the serverside will result in losing information like created, modified and also permissions are not transfered. If all of this is not needed your approach is a quick an easy solution. –  Marco Scheel Jul 12 '11 at 13:32
    
You mean like STSADM gl-exportlist and gl-importlist? (I didn't notice the 2010 tag at first) –  Ryan Jul 12 '11 at 15:04
add comment

Instead of exporting as a template, rather use the Sharepoint Backup Tools.

Browse to http://YOURCENTRALADMINURL:portnr/backups.aspx

Click "Export a site or list"

Select the List you want to backup.

Import into correct location using : Import-SPWeb http://site -Path export.cmp

share|improve this answer
    
Thanks, Fox. That's a very neat tool. I didn't know such a thing was possible. Thanks for sharing. –  Alex C Jul 12 '11 at 10:30
add comment

Please check these technet documents

Export list: http://technet.microsoft.com/en-us/library/ee428301.aspx

Import list: http://technet.microsoft.com/en-us/library/ee428322.aspx

Sample Export:

Export-SPWeb -Identity http://site -Path c:\export.cmp -IncludeUserSecurity -IncludeVersions All -ItemUrl /lists/mylistname

Sample Import (path to subsite, list path will come out of the export):

Import-SPWeb http://site/subsite –Path c:\export.cmp –UpdateVersions -Overwrite -IncludeUserSecurity
share|improve this answer
    
Thanks, Marco. Those are some nifty export/import links and commands. –  Alex C Jul 14 '11 at 4:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.