| Attribute | Description |
|
AllowGlobalFeatureAssociations
|
Optional Boolean. Specifies whether global Feature associations are allowed for sites that are created with the site definition configuration.
|
|
CustomMasterUrl
|
Optional Text. Specifies the URL for an alternate .master page that can be used on pages, in Web sites that are created through the site definition configuration, without unghosting those pages.
Note:
Simply changing the value of the MasterPageFile attribute on pages that need an alternate master page, would unghost those pages.
For more information on how the value of the CustomMasterUrl is used, see Customizing Master Pages in Windows SharePoint Services.
|
|
Description
|
Optional Text. Contains the locale-specific description of the site definition configuration that appears in the UI of Windows SharePoint Services.
|
|
DisplayCategory
|
Optional Text. Specifies the tab on which the site definition configuration will appear in the UI of Windows SharePoint Services, for example, Collaboration, Meetings, or some custom name. (Only custom custom site templates appear in the tab that is actually named Custom, not site definition configurations unless "Custom" is the chosen custom name, which Microsoft does not recommend: having all and only site templates on one tab makes it easy to distinguish them in the UI from definition configurations. This can be helpful in troubleshooting.)
|
|
FilterCategories
|
Optional Text. This attribute is not used by Windows SharePoint Services. It is available for enhanced portal or content management solutions built on Windows SharePoint Services, such as Office SharePoint Server 2007, to use as means of categorizing site configurations in ways that do not map precisely onto the categorizations that appear as tab labels in the UI. (See also the DisplayCategory attribute.)
|
|
Hidden
|
Optional Boolean. Specifies whether the site definition configuration appears as an option in the UI of Windows SharePoint Services.
|
|
ID
|
Required Integer. Specifies an ID for the site definition configuration that is unique within the site definition. A definition, such as STS or MPS, is defined by a Template element in a WebTemp*.xml file and by a corresponding Onet.xml file for the definition. See Parent Elements and Remarks below.
|
|
ImageUrl
|
Required Text. Contains the URL for the preview image displayed in the UI of Windows SharePoint Services.
|
|
MasterUrl
|
Optional Text. Specifies the default master page to use for Web sites created through the site definition configuration.
|
|
Name
|
Optional Text. Contains the name of the site definition configuration.
|
|
ProvisionAssembly
|
Optional Text. Specifies the name of the assembly that contains the provision class, if there is one. (See ProvisionClass below.) For example:
ProvisionAssembly="MyCompany.SharePoint.ProvisionHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=82f0cdf222f0530d"
|
|
ProvisionClass
|
Optional Text. Specifies the fully qualified name of a class that provides provisioning functionality that will execute when the runtime finishes creating a site from the configuration. It is not required that there be such a class, but if you need one for a custom configuration, it must derive from SPWebProvisioningProvider. For example:
ProvisionClass="MyCompany.SharePoint. ProvisionHelper.MySiteProvisioningProvider"
|
|
ProvisionData
|
Optional Text. Specifies data that will be used by the Provision method of the ProvisionClass (see above). This can be a path to file that contains structured data. For example:
ProvisionData="SiteTemplates\\MySiteManifest.xml"
|
|
RootWebOnly
|
Optional Boolean. TRUE to specify that the site created from the configuration exists only as the root Web site in a site collection. This attribute is not enforced in site templates (.stp files).
|
|
SubWebOnly
|
Optional Boolean. TRUE to specify that the site created from the configuration exists only as a subsite within a site collection. This attribute is not enforced in site templates (.stp files).
|
|
Title
|
Optional Text. Contains the title of the site definition configuration that is displayed on a tab in the UI of Windows SharePoint Services.
|
|
Type
|
Optional Text. Identifies the site definition, such as STS or MPS.
|
|
VisibilityFeatureDependency
|
Optional Text. Used in a WebTemp*.xml file to hide the site definition configuration based on the activation state of the specified Feature. When a configuration contains Features that depend upon another Feature, setting this attribute prevents the configuration from appearing as an option in the UI of Windows SharePoint Services if the specified Feature is not installed or activated. This attribute is not supported for Features with Web application scope.
|