Share via


SP.BaseType enumeration

Specifies the base type for a list.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.BaseType = {discussionBoard : "Undefined",documentLibrary : "Undefined",genericList : "Undefined",issue : "Undefined",none : "Undefined",survey : "Undefined",unused : "Undefined",registerEnum : "Undefined"}

Members

The BaseType object enumeration has the following members.

Member

Value

Description

discussionBoard

3

Enumeration whose values specify a base type that should not be used, but may be used for a discussion board.

documentLibrary

1

Enumeration whose values specify a base type for a document library.

genericList

0

Enumeration whose values specify a base type for lists that do not correspond to another base type in this enumeration.

issue

5

Enumeration whose values specify a base type for an issue tracking list.

none

-1

No base type is specified.

survey

4

Enumeration whose values specify a base type for a survey list.

unused

2

Reserved must not be used.

registerEnum

Undefined

Remarks

A list has one specified base type, which is one of the following:

Base Type Name

Value

Generic List

0

Document Library

1

Discussion Board

3

Survey

4

Issue

5

An implementation should not have a list with a base type of 3.