Portal Site Template File

SharePoint 2007

Portal site template files describe the hierarchy of Web sites that is created when a site template that references the portal file is provisioned. They are stored in the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\1033\XML. This path can contain one or more custom Webtemp*xml files, such as Webtempsps.xml. The Webtemp*.xml files contain the site definition configurations that populate the Template Selection section of the New SharePoint Site page.

Microsoft Office SharePoint Server 2007 inherits most of the core site provisioning functionality from Windows SharePoint Services 3.0. For example, the structure and function of the Webtemp*.xml files is the same as described in the webtemp.xml schema definition topic in the Windows SharePoint Services SDK.


For an example of an Office SharePoint Server 2007 site template, see the template for the Publishing Portal that is defined in the path c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML\webtempsps.xml.

<Configuration ID="0" Title="Publishing Portal" Hidden="FALSE" ImageUrl="/_layouts/1033/images/IPPT.gif" Description="A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a logon page. Typically, this site has many more readers than contributors, and is used to publish Web pages with approval workflows."
ProvisionAssembly="Microsoft.SharePoint.Publishing, Version=, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5"
RootWebOnly="TRUE" DisplayCategory="Publishing" VisibilityFeatureDependency="97A2485F-EF4B-401f-9167-FA4FE177C6F6">

Portal site templates follow the XML schema defined in the path c, and are stored in the path c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\1033\XML.

See Also

Community Additions