Showing posts with label Save as Template. Show all posts
Showing posts with label Save as Template. Show all posts

Saturday, February 13, 2016

Enable Save a publishing site collection as template and save site as template url in SharePoint 2013.

In this article , Enable save as template page
#Get site url 

$web = Get-SPWeb http://peakfinders/
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
$web.Update() 

 Now you can able  access the save site as template :


_layouts/savetmpl.aspx

Wednesday, May 20, 2015

How to enable Save as template site in Site action Categories Site collection level using Powershell

$web = Get-SPWeb "http://spserver/sites/Raghu/"
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
$web.Update()

Thursday, February 12, 2015

Unable to save site as template + unexpected error.

when we document library [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
$docSize = 5000000000
$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$webservice.MaxTemplateDocumentSize = $docSize
$webservice.Update()