Carrot reference
...
Carrot fields
Data types
Enum
A Carrot datatype used by fields that store one value out of a set of allowed values, each with a unique label.
The Enum datatype is supported in Custom Fields. Custom fields that are of type Enum are Single Select, Multiple Select, Numeric Scale, and Smart Bucket.
The Enum datatype supports the following properties:
Property | Definition |
someEnum.name | Returns the option name. |
someEnum.label | Returns the option label. |
someEnum.color | Returns the option color. |
someEnum.expr | Expression to be calculated. |
someEnum.num | Returns the numeric value of the option. |
employment:temporary returns all records where employment, a default field of type Enum, has the value temporary. There are six unique, inbuilt options for employment.