3

I have 10+ Document Libraries in the Parent Site. I want to move them to a subsite. What is the best approach without coding?

  • I would save them as template with content and create them from template in the subsite. – Erin L Aug 9 '16 at 19:54
3

Another option since the libraries are in the site collection is to use Content and Structure from Site Settings to move the content from parent to child site.

The nature of copying/moving the content will copy down any metadata associated with the parent list to the new destination, no need to worry about recreating the list/library structure, you just need an existing target.

  • 1
    Can we move list/libraries using this feature? – Amal Hashim Aug 9 '16 at 20:01
  • I dont think so we can do it with using Content and Structure... – Waqas Sarwar MVP Aug 9 '16 at 20:03
  • 1
    Yes, it can be done with content and structure, revised. – Eric Alexander Aug 9 '16 at 20:11
  • can you do whole list or library not item by item? – Waqas Sarwar MVP Aug 9 '16 at 21:04
  • 2
    batches of 1000 items at a time, used this method to shuffle 150k items around – Eric Alexander Aug 10 '16 at 1:03
1

Couple of way to achieve it.

  1. Use the Save the DL as "Save As template with include content option" then create the New DL on Subsite with those template one by one.
  2. Using the PowerShell( export & Import), export the DL then import it on Subsite. Check this link https://technet.microsoft.com/en-us/library/ee428301.aspx
  3. Use the 3rd party tools to Move the DL between the Site collections or within Site collection. check ShareGate as they offer free trial.
0

Go in Document Library --> Document Library Settings --> Save document library as Template

Give FileName, Template Name and check Include Content(if you also want to migrate documents inside document library).

Ok. And to upload Go in Site --> Site Settings ---> List Template --> Upload template here. Then it will be available under libraries.

Get in detailed here, includes other solutions to get this migration job done.

Hope this helps!

-1

You can use below command to export the library

Export-SPWeb "http://sharepointurl/subsite1" -ItemUrl "LibraryURL" -Path "C:\" -IncludeVersions All -IncludeUserSecurity"

Next import the library to new location

Import-SPWeb "http://sharepointurl/subsite1" -ItemUrl "lists/MyList" -Path "C:\"  -IncludeVersions All -IncludeUserSecurity

Lastly remove library from the original location

$web = Get-SPWeb urlofweb
$library = $web.lists["listname"]
$library.Delete()
  • I would consider a PowerShell only answer coding, which was a requirement of his question. – Eric Alexander Aug 9 '16 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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