SP.Field.defaultValue Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies the default value for the field.
var value = SP.Field.get_defaultValue();
SP.Field.set_defaultValue(value);
Property Value
Type: String
Applies To
Exceptions
- NotSupportedException
Value is changed, and the list is an external list. Error code: -1.