Class ecm.model.EntryTemplatePropertyOptions
Extends
ecm.model._ModelObject.
Represents the options that are set for a property in an entry template. Property options include the data
type, default value, cardinality, if a value is required, if the property is displayed, etc.
Defined in: <ecm\model\EntryTemplatePropertyOptions.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
ecm.model.EntryTemplatePropertyOptions(properties)
Constructor
|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The cardinality of the property.
|
|
The data type of the property, one of the ecm.model.AttributeDefinition dataType strings.
|
|
The default value to be used for this property when creating new items.
|
|
A boolean value indicating whether the property should be displayed.
|
|
A boolean value indicating whether the property is read only.
|
|
A boolean value indicating whether a value is required for the property.
|
|
For an object valued property, the required class is a string that specifies the P8 class of objects that may
be selected.
|
- Fields borrowed from class ecm.model._ModelObject:
- categorization, id, isRecurring, name, nameFilter, pane, status, type, userId
Constructor Detail
ecm.model.EntryTemplatePropertyOptions(properties)
Constructor
- Parameters:
- properties
- The properties for the entry template property option object. The properties can be any of the public fields as defined below and on ecm.model._ModelObject.
Field Detail
cardinality
The cardinality of the property. One of the values in ecm.model.EntryTemplatePropertyOptions.CARDINALITY.
dataType
The data type of the property, one of the ecm.model.AttributeDefinition dataType strings.
defaultValue
The default value to be used for this property when creating new items.
hidden
A boolean value indicating whether the property should be displayed.
readOnly
A boolean value indicating whether the property is read only.
required
A boolean value indicating whether a value is required for the property.
requiredClass
For an object valued property, the required class is a string that specifies the P8 class of objects that may
be selected.