Mapping Field Types
The following tables summarize the mapping of UDF/custom field types.
Field Type
Groovy Data Type
Text
String
Multiline Text
String
Text Dropdown
String
Hyperlink
String
Hyperlink Dropdown
String
Toggle Switch
Boolean
Date
Date
Numeric
double, float, log, int, BigDecimal, BigInteger
Numeric Dropdown
double, float, log, int, BigDecimal, BigInteger
Working with Toggle Switches
The LIMS and API treat the toggle switch field type as boolean when its value is set to true or false. However, it is possible to configure a toggle switch to not have to set a boolean true / false value. In this case, the value of the field is None Set and the field is treated as a 'nonexistent' field. To make sure that a toggle switch value has been set, you can use the hasValue function. For details, see Handling Non-Existent UDFs/Custom Fields.
Last updated