Builtin ValueField Types
caution
ValueFieldTypes are deprecated. See ValueTypes for the new alternative.d
Builtin value typesValue Type (ValueType). A specifier defining how data in a Field is rendered in the UI, stored in the database, and validated in business logic. available to all applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution..
<field name="item">
<!-- ... -->
<valueField>
<!-- `name` from the table below -->
<valueFieldType component="" name="StringLong"/>
</valueField>
</field>
The default database column for string fieldsFieldA property of a DataElement expanded to a database column and user interface input element. is varchar(255), except for StringLong and StringMultiLine which
use varchar(16384).
| Name | Java Storage Class | Displayed As | Form Input |
|---|---|---|---|
| String | java.lang.String | single-line string | input type text |
| Boolean | java.lang.Boolean | read-only checkbox | checkbox |
| Short | java.lang.Short | number | input type text with numeric restriction |
| Integer | java.lang.Integer | number | input type text with numeric restriction |
| Long | java.lang.Long | number | input type text with numeric restriction |
| Double | java.lang.Double | number | input type text with numeric restriction |
| Date | java.util.Date | date without time | date picker |
| DateLong | java.util.Date | date with time | datetime picker |
| byte[] | byte[] | string | not supported |
| StringLong | java.lang.String | html text | rich text editor |
| StringMultiLine | java.lang.String | multi-line string | textarea |
| StringLink | java.lang.String | clickable link | input type text |
| StringPass | java.lang.String | Displayed as a Password | input type password |
| StringFile DEPRECATED | java.lang.String | Displayed as a File | file upload button |