Save Site as template while Publishing Feature is activated

SharePoint Server 2013Problem

Saving a Site Template with activated Publishing Feature is not possible in SharePoint 2013 (menu link missing).

When using the direct browser link (which worked perfect in SharePoint 2010) http://YourSharePointSite/_layouts/15/savetmpl.aspx you get the error The “Save site as template” action is not supported on this site.

Save site as template error



Modify the SaveSiteAsTemplateEnabled property in your SPWeb object via PowerShell.

# Store your Site in a variable:$SiteToModify = Get-SPWeb http://YourSharePointSite# Display the current value of the property:$SiteToModify.AllProperties["SaveSiteAsTemplateEnabled"]# Set the property to true:$SiteToModify.AllProperties["SaveSiteAsTemplateEnabled"] = "true"$SiteToModify.Update()


Screenshot PowerShell


When now trying the savetmpl.aspx link again, you can save your template:

Save as Site Template working




%d Bloggern gefällt das: