Thursday, March 25, 2010

How To Save Site As template using cmd prompt

In SharePoint 2003 Go To Site Settings and select Site Administration go to Management and Statistics in the tab click " Save site as template "

Once you saved that site as .stp file Once you saved it gives a link to managegallery or below link accordingly


http://server/sites/sitename/_catalogs/wt/Forms/Common.aspx

then save the .stp file in the local machine of the server and use below command tool to list it in the sites template list.Then reset iis

Create a site in the steps you will get a page to select the template for the list
use the deployed template for that site and go ahead if you want to import the data also use "Include Content" check box checked other wise Leave it.




to get in to the stsadm.exe go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN in command prompt
and then execute below command accordingly
stsadm.exe -o addtemplate -filename "C:\RAvishanker\OracleItSiteTemplate.stp" -title OracleItSiteTemplate"

No comments:

Post a Comment