Save site as a template option is hidden from the publishing sites.
In order to get around this issue you need to update a single property page value in your SPWeb object for the site you are trying to save as a template
and you are good to go. The property is called SaveSiteAsTemplateEnabled. We need to set that property to true that’s all.
Here is the code sample that shows how to do that using PowerShell:
Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
$web = Get-SPWeb http://Web URL
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
Same can be done using SharePoint Designer.
1)Open web in sharepoint designer.
2)on Ribbon,(right hand last button) select Site Options >> Select Parameter Tab >> Select "SaveSiteAsTemplateEnabled".
3)click on modify button and change value from false to true.
Well, since the Save site as a template option is hidden from the publishing sites settings page we all used the following URL to go there directly:
Recently I was working with search bar in search result page where I encounter below error: Sorry, Something went wrong An error occurred...
Recently I was working on sending mail using smtp server where I stuck on below error: IIS/SMTP - emails are stuck in mailroot/Queue ...
If you want to know which controlled fired post back at page load, here is some sample code. 1) for link button: string ctrlname = Page....