BaseType element (Site)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Defines the default schema (for example, the fields) that all lists derived from the base type must contain. Every list in a SharePoint website inherits its schema from a base type.
<BaseType
Image = "Text"
Title = "Text"
Type = "Text">
</BaseType>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
Image |
Optional Text. Sets the image used by a list base type in the Lists page (_layouts/viewlsts.htm). However, all SharePoint list definitions (such as for Announcements or Events) provide their own images so that, in practice, this attribute is never used. |
Title |
Required Text. The name of the base type. |
Type |
Required Text. Unique ID for the base type. The following values are possible for built-in base types: 0 — Custom List 1 — Document Library 2 — Not used 3 — Obsolete. Use 0 for discussion boards. 4 — Surveys 5 — Issues List |
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: Unbounded
Remarks
The fields defined in a base type may not be deleted from a derived list without breaking the list (for example, a document library will not function without the file name column), although fields may be added to the list.