SP.AddFieldOptions enumeration
Specifies the control settings while adding a field.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var SP.AddFieldOptions = {addFieldCheckDisplayName : "Undefined",addFieldInternalNameHint : "Undefined",addFieldToDefaultView : "Undefined",addToAllContentTypes : "Undefined",addToDefaultContentType : "Undefined",addToNoContentType : "Undefined",defaultValue : "Undefined",registerEnum : "Undefined"}
Members
The AddFieldOptions object enumeration has the following members.
Member |
Value |
Description |
---|---|---|
addFieldCheckDisplayName |
32 |
Enumeration whose values specify to confirm that no other field has the same display name. |
addFieldInternalNameHint |
8 |
Enumeration whose values specify adding an internal field name hint for the purpose of avoiding possible database locking or field renaming operations. |
addFieldToDefaultView |
16 |
Enumeration whose values specify that a new field that is added to the specified list must also be added to the default list view. |
addToAllContentTypes |
4 |
Enumeration whose values specify that a new field that is added to the specified list must also be added to all content types in the site collection. |
addToDefaultContentType |
1 |
Enumeration whose values specify that a new field added to the list must also be added to the default content type in the site collection. |
addToNoContentType |
2 |
Enumeration whose values specify that a new field must not be added to any other content type. |
defaultValue |
0 |
Enumeration whose values specify that a new field added to the list must also be added to the default content type in the site collection. |
registerEnum |
Undefined |