Just wondering if anyone knows a quick solution for moving SPWebs, they need to be structurally moved (So no managed navigation solution) and they contain an SPWeb hierarchy (Export/import is out of the question too).
2 Answers
You can also use Save As template options, if no more sub-site down that. If you have content then check the "include the content " option.
Another option, I saw the below powershell, another interesting option.
#Get the Source Site
$web=Get-SpWeb "http://sharepoint.crescent.com/teams/marketing/us/Policies/"
$web.AllowUnsafeUpdates=$true
#Set the Target URL
$web.ServerRelativeUrl="/teams/marketing/Policies/"
$web.AllowUnsafeUpdates=$false
$web.update
-
Yeah, the save as template won't work, it's an entire subweb hierarchy I need to move, will try that Powershell however, looks interesting Commented Aug 18, 2014 at 20:45
-
I got error
Exception calling "Update" with "0" argument(s): "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."
– PeterXCommented Aug 4, 2015 at 3:29 -
the second $web.AllowUnsafeUpdates=$false should go after the $web.update I think.– John LiuCommented Aug 4, 2015 at 4:44
With sufficient permissions, you can use the Content and structure
tool in the Site Collection to move it.
However the administrator list threshold issue could occur (as in my case) while looking for an alternative.