ListTemplate Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents a list definition or instance of a list template (SPListTemplate) object on a SharePoint list (SPList) object.

DECLARATION
<xs:element name="ListTemplate" type="SPListTemplate" />

USAGE
<SPObject>
        <ListTemplate
                BaseType="xs:string"
                Description="xs:string"
                Hidden="xs:string"
                ImageUrl="xs:string"
                InternalName="xs:string"
                IsCustomTemplate="xs:boolean"
                Name="xs:string"
                OnQuickLaunch="xs:string"
                SchemaXml="xs:string"
                Type="xs:string"
                Unique="xs:boolean"
        />
</SPObject>

Type

SPListTemplate

Attributes

Attribute

Type

Description

BaseType

xs:string

Optional. Specifies the base type for the list definition or list template.

Description

xs:string

Optional. Provides a description of the list definition or list template.

Hidden

TRUEFALSE Simple Type (DeploymentManifest)

Optional. Specifies whether the list definition or list template is hidden from Web site users and is not available on the Create page.

ImageUrl

xs:string

Optional. Server-relative path to the location of the image used to represent the list definition or list template.

InternalName

xs:string

Optional. Represents the name used internally for the list definition or list template.

IsCustomTemplate

xs:boolean

Optional. Specifies whether the template object instance represents a list template; that is, a template contained in an .stp file. Users create custom templates when they save a list as a template.

Name

xs:string

Optional. Display name for the list definition or list template

OnQuickLaunch

xs:string

Optional. Specifies whether any list created with the list definition or list template is displayed on the Quick Launch bar.

SchemaXml

xs:string

Optional. Represents the schema that describes the list definition.

Type

xs:string

Optional. Specifies the list definition type as a SPListTemplateType value.

Unique

xs:boolean

Optional. Specifies whether only one instance of the list type can be created by using the template, and that the template cannot be used to create a list by using the object model or user interface.

Child Elements

None

Parent Elements

SPObject Element (DeploymentManifest)

See Also

Reference

SPListTemplate

SPListTemplateType

Concepts

DeploymentManifest Schema