BaseType Element (Site)

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.

Defines the default schema (for example, the fields) that all lists derived from the base type must contain. Every list in a SharePoint Web site inherits its schema from a base type.

<BaseType
  Image = "Text"
  Title = "Text"
  Type = "Text">
</BaseType>

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, Events, etc.) 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

MetaData

Parent Elements

BaseTypes

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.