ListTemplate element (DeploymentManifest)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents a list definition or instance of a list template (SPListTemplate) object on a SharePoint list (SPList) object.
Definition
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
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
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 website 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)