The process for content deployment is simply:
General application Settings, Content Deployment-
1) Configure Content Deployment:
Connection Security->do not require encryption
Source status check->disable source status check
->ok
2) Check deployment of specific content:
The Type in the source URL and check the definition.
3) Manage Content Deployment Paths and Jobs:
New Path (Create the path from source to definition)
Notice:the source Web application ' s content database should distinguish the content database of the Destinition Web appli cation.
New Job (Create the job under the path to achieve the deployment of the content)
But before we run the job, we have to make sure we do the prerequisite, as follows:
1) Activate content Deployment Source feature and Cross-site Collection Publishing feature in Site Collection feature.
2) Check the content Deployment Source Status and all the error features are deactivate off.
For the deactivate process of the error features, we do this through PowerShell, where I have a simple encapsulation of the disable-spfeature command, which is convenient for our use, the code is as follows:
add-PSSnapin Microsoft.SharePoint.PowerShellfunctionDeactivatespfeature ($featureName,$SITEURL) {Disable-spfeature–identity$featureName–url$SITEURL}functionautodeactivatespfeature () {$flag=$true $SITEURL= Read-host"Enter the site URL" while($flag) { $featureName= Read-host"Enter the feature name"deactivatespfeature$featureName $SITEURL $choice= Read-host"Press ' C ' to continue, no other key to quit" if($choice -ne' C ') { $flag=$false}}}autodeactivatespfeature
Save to a local PS1 file, run with PowerShell at execution time, and perform the following effects in the IDE:
After all the error features are deactivate, you will be prompted on the page:
"There is no errors, and this Site Collection is the ready for Content Deployment."
SharePoint Content Deployment Prerequisite--error features deactivate automation