SP.FieldType enumeration
Specifies the type of the field.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var SP.FieldType = {allDayEvent : "Undefined",attachments : "Undefined",boolean : "Undefined",calculated : "Undefined",choice : "Undefined",computed : "Undefined",contentTypeId : "Undefined",counter : "Undefined",crossProjectLink : "Undefined",currency : "Undefined",dateTime : "Undefined",error : "Undefined",file : "Undefined",geolocation : "Undefined",gridChoice : "Undefined",guid : "Undefined",integer : "Undefined",invalid : "Undefined",lookup : "Undefined",maxItems : "Undefined",modStat : "Undefined",multiChoice : "Undefined",note : "Undefined",number : "Undefined",outcomeChoice : "Undefined",pageSeparator : "Undefined",recurrence : "Undefined",text : "Undefined",threadIndex : "Undefined",threading : "Undefined",URL : "Undefined",user : "Undefined",workflowEventType : "Undefined",workflowStatus : "Undefined",registerEnum : "Undefined"}
Members
The FieldType object enumeration has the following members.
Member |
Value |
Description |
---|---|---|
allDayEvent |
29 |
Specifies that the field indicates whether a meeting in a calendar list is an all-day event. |
attachments |
19 |
Specifies that the field indicates whether the list item has attachments. |
boolean |
8 |
Specifies that the field contains a Boolean value. |
calculated |
17 |
Specifies that the field is a calculated field. |
choice |
6 |
Specifies that the field contains a single value from a set of specified values. |
computed |
12 |
Specifies that the field is a computed field. |
contentTypeId |
25 |
Specifies that the field contains a content type identifier as a value. |
counter |
5 |
Specifies that the field contains a monotonically increasing integer. |
crossProjectLink |
22 |
Specifies that the field contains a link between projects in a Meeting Workspace site. |
currency |
10 |
Specifies that the field contains a currency value. |
dateTime |
4 |
Specifies that the field contains a date and time value or a date-only value. |
error |
24 |
Specifies that the type of the field was set to an invalid value. |
file |
18 |
Specifies that the field contains the leaf name of a document as a value. |
geolocation |
31 |
Specifies that the field contains geographical location values. |
gridChoice |
16 |
Specifies that the field contains rating scale values for a survey list. |
guid |
14 |
Specifies that the field contains a GUID value. |
integer |
1 |
Specifies that the field contains an integer value. |
invalid |
0 |
Must not be used. |
lookup |
7 |
Specifies that the field is a lookup field. |
maxItems |
31 |
Must not be used. |
modStat |
23 |
Specifies that the field indicates moderation status. |
multiChoice |
15 |
Specifies that the field contains one or more values from a set of specified values. |
note |
3 |
Specifies that the field contains multiple lines of text. |
number |
9 |
Specifies that the field contains a floating-point number value. |
outcomeChoice |
Undefined |
|
pageSeparator |
26 |
Specifies that the field separates questions in a survey list onto multiple pages. |
recurrence |
21 |
Specifies that the field indicates whether a meeting in a calendar list recurs. |
text |
2 |
Specifies that the field contains a single line of text. |
threadIndex |
27 |
Specifies that the field indicates the position of a discussion item in a threaded view of a discussion board. |
threading |
13 |
Specifies that the field indicates the thread for a discussion item in a threaded view of a discussion board. |
URL |
11 |
Specifies that the field contains a URI and an optional description of the URI. |
user |
20 |
Specifies that the field contains one or more users and groups as values. |
workflowEventType |
30 |
Specifies that the field contains the most recent event in a workflow instance. |
workflowStatus |
28 |
Specifies that the field indicates the status of a workflow instance on a list item. |
registerEnum |
Undefined |