SP.WebTemplate Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.WebTemplate class.

Properties

Name

Description

description

Gets a value that specifies the description for the site definition configuration or site template.

displayCategory

Gets a value that specifies the display name for the category that this site definition configuration or site template is a part of.

id

Gets a value that specifies the unique identifier for the site definition configuration or the site template.

imageUrl

Gets a value that specifies the URI for the image that is associated with the site definition configuration or site template.

isHidden

Gets a value that specifies whether the site definition configuration is displayed in the user interface for creating new sites.

isRootWebOnly

Gets a value that specifies whether the site definition configuration or site template can only be applied to the top-level site in the site collection.

isSubWebOnly

Gets a value that specifies whether the site definition configuration or site template can only be applied to subsites created within the site collection.

lcid

Gets a value that specifies the LCID for the site definition configuration or site template.

name

Gets a value that specifies the name for the site definition configuration or site template.

title

Gets a value that specifies the display name for the site definition configuration or site template.

Applies To

SP.WebTemplate Class

See Also

Reference

SP.WebTemplate Methods

SP Namespace