I have 10+ Document Libraries in the Parent Site. I want to move them to a subsite. What is the best approach without coding?
4 Answers
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
-
I dont think so we can do it with using Content and Structure...– Waqas Sarwar MVP ♦Commented Aug 9, 2016 at 20:03
-
1Yes, it can be done with content and structure, revised. Commented Aug 9, 2016 at 20:11
-
can you do whole list or library not item by item?– Waqas Sarwar MVP ♦Commented Aug 9, 2016 at 21:04
-
2batches of 1000 items at a time, used this method to shuffle 150k items around Commented Aug 10, 2016 at 1:03
Couple of way to achieve it.
- 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.
- 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
- Use the 3rd party tools to Move the DL between the Site collections or within Site collection. check ShareGate as they offer free trial.
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!
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. Commented Aug 9, 2016 at 20:19