Perhaps the most easiest way to create a standard site template is to Create a site, Add-remove content, list and libraries and save it as a template. But SharePoint 2013 does not support "Save Site as Template" option on Publishing sites. If a site with "SharePoint Server Publishing" is activated this option will not available in Site settings, So you can't save site as template!
In SharePoint 2007 and SharePoint 2010 we use a trick by appending the URL: "/_layouts/savetmpl.aspx" to get this functionality! Unfortunately, you cannot save site as template in SharePoint 2013 using this trick! if you try accessing the page with the above trick, you'll get an error message:
Sorry, Something went wrong - The "Save site as template" action is not supported on this site.
Enable save site as template in SharePoint 2013 publishing sites:
How to enable save site as template SharePoint 2013? Well, this issue can be resolved by either of these two ways:
- Setting "SaveSiteAsTemplateEnabled" property of the site to true
- Using PowerShell to Enable Save site as template feature.
Option 1: Save site as template option with SharePoint designer 2013:
- Open your site with SharePoint Designer 2013
- Click on ‘site options’ button from the ribbon.
- Under parameters tab, locate the option for “SaveSiteAsTemplateEnabled” and change this setting to "True"
- Click on OK button to save your changes.
Option 2: Enable Save site as template SharePoint 2013 with PowerShell:
Run this PowerShell script to enable save site as template in SharePoint 2013.
Add-PSSnapin Microsoft.SharePoint.PowerShell $SiteURL ="http://intranet.crescent.com/sites/operations" $web = Get-SPWeb -Identity $SiteURL #Enable Save Site as template option $web.SaveSiteAsTemplateEnabled = $true $web.Update()So now, When you access the save site as template URL shortcut: _layouts/savetmpl.aspx (Such as:
http://your-site-url/_layouts/savetmpl.aspx) You should be able to get the save site as template page.
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.