Field Types

Type

Description

Autogenerated

These are fields for which the values are generated automatically by the crm, this is usually an objects id field

String

A one line text field

Text

A multiline text field

Boolean

A boolean field can have the values true or false

Integer

A non decimal number field

Double

A field for for floating point numbers

Decimal

A field for for floating point numbers

Time

A string of the format hh:ii format is based on the users settings time format

Datetime

A string representing the date and time, the format is base on the users settings date format, e.g. yyyy-mm-dd hh:mm

Date

A string representing a date, the field type map will contain another element called format which is the format of value of is expected. It is based on the users settings date format.
{
format: “…”, // The format in which the value of this field is expected
name: “…”, // Name of the field type
}

Owner

A string field for defining the owner of the field which could be a group or individual user

Email

A string field for storing email ids

Phone

A string field for storing phone numbers

Url

A string field for storing urls

Password

A string field for storing passwords

Picklist

A picklist field where only one value can be selected
{
picklistValues: [ … valid JSON … ], // List of possible values
defaultValue: “…”, // Specifies which value should be used as the default value
name: “…”, // Name of the field type
}

Multipicklist

A picklist field where multiple values can be selected. Multiple values are separated by eg. Value1 Value2
{
picklistValues: [ … valid JSON … ], // List of possible values
defaultValue: “…”, // Specifies which value should be used as the default value
name: “…”, // Name of the field type
}

Reference

A field that shows a relation to another object this field type will contain another element called refersTo which is an array containing the name of modules of which the field can point to
{
refersTo: [ … valid JSON … ], // Is an list containing the name of modules
name: “…”, // Name of the field type
}

File

A field for adding file to crm
{
maxUploadFileSize: “…”, // Max allowed size of a file getting uploaded
name: “…”, // Name of the field type
}