Skip to content

Profile field types

Alexey Pavlyuts edited this page Feb 1, 2023 · 5 revisions

Special types

These special types allowed just once per profile

Summary

type Type constant Mandatory Description
id TYPE_ID mandatory Absolutely mandatory to have one and only one field type of 'id' in the Profile. This is the id field of the multistring entity in the CSV array. Automatically has shared option true
rowCount TYPE_ROWCOUNT optional The field, containing the row count for a doc with given id. Automatically has shared option true
rowIndex TYPE_ROWINDEX optional The field, containing the row index of each row for a doc with given id. Automatically has shared option false

Data types

Data types define processing of data field while import and export.

Summary

type Type constant Extra options used Description
text TYPE_TEXT Default type, values handled "as is"
number TYPE_NUMBER format Integer or float value
date TYPE_DATE format, zone Datetime value
const TYPE_CONST value The field is a pre-defined constant
custom TYPE_CUSTOM class and any extra Customefield, handled by custom class
Clone this wiki locally