16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

418 Part V: Administration of Windows SharePoint Services<br />

F16XR15<br />

Figure 16-15 Site Template gallery<br />

F16XR16<br />

Figure 16-16 Template selection<br />

Selecting a Customized Template from the Comm<strong>and</strong> Line<br />

Administrators can also create sites based on the site templates available in the<br />

Server Template gallery from the comm<strong>and</strong> line by using stsadm.exe. To create a site<br />

based on a template in the Central Template gallery, the administrator must use the<br />

createsite (to create a top-level website) or createweb (to create a subsite) operations<br />

on the comm<strong>and</strong> line, <strong>and</strong> specify the template name as _GLOBAL_#number,<br />

where number refers to the template ID. For example, if you have a site template in<br />

the Central Template gallery with the ID 2, you could use the following syntax to<br />

create a site based on that template:<br />

Stsadm.exe –o createsite –url -ownerlogin -owneremail<br />

–sitetemplate _GLOBAL_#2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!