Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

create and deloy Site templates in Sharepoint 2013

$
0
0

HI to all,

i new to sharepoint, and searching many articles to find an answer to my question and just get more confused.

My objective is to create a new site template from an already created site with publishing feature activated, i found out that the option "save as site template" is disabled because of the publishing feature, but i also read in an article that it is possible to save it as a template using powershell and i'm using this script

$Web=Get-SPWeb http://intradev.ge.pt/sites/gqual/process/TemplateProcess

$Web.SaveAsTemplate("SiteTemplateProcess","Title","Description",1)

1.Question

since method return void i dont know whether template was created or not, where can i find the created template?

2.Question the template which i want to create is to be used in an automatic deployment process, i mean, some user clicks a button which will run a ps script to deplyo a new sub site created from the site template previously mentioned. Is this the correct approach?

Please give me your feedbacks with the best approach for this objective!

Thank you!


Viewing all articles
Browse latest Browse all 25064

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>