You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 111 Next »

No Bound Choices

Field types that do not offer to a user any choices to select from.

Field TypeDescriptionScalar TypeLength or Example, validation criteria

Big Integer

It's a numeric field type used for the storage of the very huge numbers. Size of the data stored is 8 bytes.

In SimpleOne interface, it is displayed as an input field with a numeric value in it.

int8The value specified should not exceed this range: [9223372036854775807 ... 9223372036854775806].

Decimal

This field type implements number with up to two digits after the decimal points (for example, 12.34).decimal

Duration

This field type is used to provide a duration between two events specified. It stores an integer number inside.int8

The validation processing:

  1. The input string is categorized by datetime parts (days, hours, minutes, seconds).
  2. It converts into a total milliseconds amount and saved as a Big Integer number.

Encrypted Password

This field type is used to provide secure password storage in the database, with the decoding ability (2-way encryption).

Before saving, password encodes basing on one of the encryption algorithm and a random string. Before usage, decoding performs.


See the Password columns article to learn more.

varcharThis field can contain all kinds of symbols. The length is limited up to 128 symbols.

Float

This field type implements a floating point number.float4

Validation criteria:

  • Only numbers, a comma and a dot are allowed.
  • Maximum string length is 14 symbols.
  • Maximum fraction size is 12 symbols (after a delimiter which can be a comma or a dot, depending on a user preferences).

HTML

This field type is implemented as a rich text widget. It has various settings which are displayed as HTML tags in the database.

When this field is read-only, the data is displayed as HTML; otherwise, it is displayed as text that can be edited and transformed.

When using this field type, there are two modes: rich text editor and source editor. You can enter the source editor by clicking the Source button on the panel.

Changes made in one of modes are displayed in another, and vice versa.

textThis field can contain all kinds of symbols, and it is lengthless until not limited by the Max Length attribute. 

Integer

This is a numeric field type. Size of the stored data – 4 bytes.

int4The value specified should not exceed this range: [-2147483648 ... +2147483647].

Journal Input

This field type is used to operate with the comment widget for the intermediate data storage when the comments are being added. It is implemented as a text-area with a placeholder of the field title.


See the Text columns article to learn more.

As a rule, it has the NULL value. When a comment is being added, the field value saves the following data to the sys_activities_stream_field table:

  • reference to the commented record;
  • reference to the table containing this field;
  • the comment itself;
  • commentator's name (the user who has added the comment);
  • field name.

After the comment is saved the field value becomes NULL again.

textThis field can contain all kinds of symbols, and it is lengthless until not limited by the Max Length attribute. 

JSON

This field type is physically stored as JSON.


See the Text columns article to learn more.

jsonb

Field content example:


JSON
{"name":"John", "age":30, "cars": {"car1":"Ford", "car2":"BMW",     "car3":"Fiat"   }  }

Fields of a JSON type are validating as if they contain a string structured in a JSON way. To learn more about this, please refer to official JSON documentation.

Password

Displayed as an input field with password type.

See the Password columns article to learn more.

varcharThis field can contain all kinds of symbols; the length is limited up to 255 symbols.

Percent Complete

This field type is used to display a task completion rate.decimal

Field validation criteria:

  • May contain numbers [0..100].
  • Maximum fraction size is 2 symbols.
  • Maximum length is 6 symbols.

Phone

This field stores a phone number.

In SimpleOne interface, it is displayed as an input field with the phone number.


See the Text columns article to learn more.

varchar

Phone validation criteria:

  • May contain: (+-), spaces and numbers.
  • Maximum length is 15 symbols.

Script

This field type is physically implemented as a lengthless text string.

In SimpleOne interface, it is displayed as a CodeMirror widget (JS component that provides ability of the code editing in a browser).


See the Text columns article to learn more.

textThis field can contain all kinds of symbols, and it is lengthless until not limited by the Max Length attribute. 

Small Integer

This is numeric field type. Size of the data stored – two bytes. 

int2The value specified should not exceed this range: [-32768 ... +32767].

String

This field type is physically implemented as a string 255 symbols length.

In SimpleOne interface, it is displayed as a text input field.

varcharThis field can contain all kinds of symbols. If the string length is not set, then it is limited up to 255 symbols; otherwise, a limit may be well above.

Text

This field type is physically implemented as a lengthless text string. The memory is allocated dynamically when processing the field.

In SimpleOne interface, it is displayed as a textarea.


See the Text columns article to learn more.

text

This field can contain all kinds of symbols, and it is lengthless until not limited by the Max Length attribute. 

Translated Text

This field type allows the same field to display different content based on the user's chosen language. To learn more about this field type, please refer to the Translated Text field article.

varcharThis field can contain all kinds of symbols, and it is lengthless until not limited by the Max Length attribute.

URL

This field type is used to store a URL.

varcharThis field can contain all kinds of symbols. The length is limited up to 2048 symbols. 

Choice-like Fields

Field types that offer choices to a user and can be filled by selecting a value.

Field TypeDescriptionScalar TypeLength or Example, validation criteria

Boolean

This field type implements binary logic (True or False, 1 or 0).

In SimpleOne interface, it is displayed as a checkbox. You can change its default value to TRUE or FALSE by checking or unchecking it.

boolean

true

false

Choice

This field type implements the choices functionality.

In SimpleOne interface, it is displayed as a drop-down list.

For this, supporting fields in the sys_db_column column were implemented. Configuration settings of the items to be selected are located in the sys_choice table. The following types of Choices are available (they vary by Choice Type setting on the column creation form):

  • 'None'
  • Drop-down with 'None'
  • Drop-down without 'None' (must specify a default value).

When creating a column you can specify Choice Table and Choice Column. In this case, the Choice Column values will be the options for the values of the specified table in the Choice Table.

varchar

This field can contain all kinds of symbols. If the string length is not set, then it is limited up to 80 symbols.


See Choice fields article to learn more.

Color

This field type is intended to keep and share information about the system color or the color of an interface element. This field type is used, for example, in the Style Rules.

varchar

This field can contain either 4 or 7 symbols (concised or full RGB record) starting with the hash sign (#). Allowed symbols are: numbers, English letters (A to F) and the hash sign.

Example: #B80000

Conditions

This field type is used to build AND/OR filters.

In SimpleOne interface, it is displayed as a filter configuration widget. It stores JSON conditions.


See the Condition columns article to learn more.

text

The validation criteria are:

Date

This field type stores the date in the following format: YYYY-MM-DD to within 1 day and not specifying the time of the day. Size of the data stored is 4 bytes.

In SimpleOne interface, it is displayed as an input field with a date picker.


See the Date and datetime columns article to learn more.

date

A date must have the ISO 8601 format:

  • YYYY-MM-DD

Date elements are validated to meet the following criteria:

ElementRangeComment
Day[01..31]The value specified should not exceed this range.
Month[01..12]The value specified should not exceed this range.
Year[0001..9999]The value specified should not exceed this range.

Available symbols in this field:

  • Numbers
  • Slash ( / )
  • Hyphen ( - )
  • Dot ( . )

Date/Time

This field type stores the timestamp measured in seconds.

In SimpleOne interface, it is displayed as an input field with a date and time picker.


See the Date and datetime columns article to learn more.

timestamp

The datetime can be written in the ISO 8601 format as shown below:

YYYY-MM-DD hh:mm:ss

Datetime elements are validated to meet the following criteria:

ElementRangeComment
Second[00..59]

The value specified should not exceed this range.

Minute[00..59]

The value specified should not exceed this range.

Hour[00..23]The value specified should not exceed this range.
Day[01..31]The value specified should not exceed this range.
Month[01..12]The value specified should not exceed this range.
Year[1900..2099]The value specified should not exceed this range.

Date Time Specific

This field type stores the timestamp measured in seconds.

In SimpleOne interface, it is displayed as an input field with a date and time picker.

This field type is mainly used in Schedules. In contrast to the Date Time field type, this field type uses the UTC offset parameter defined in the system timezone. 


See the Date and datetime columns article to learn more.

timestamp

The datetime can be written in the ISO 8601 format like shown below:

YYYY-MM-DD hh:mm:ss

Datetime elements are validated to meet the following criteria:

ElementRangeComment
Second[00..59]The value specified should not exceed this range.
Minute[00..59]The value specified should not exceed this range.
Hour[00..23]The value specified should not exceed this range.
Day[01..31]The value specified should not exceed this range.
Month[01..12]The value specified should not exceed this range.
Year[1900..2099]The value specified should not exceed this range.

Document ID

This field type is used to store various IDs. Physically they are stored as UUID.

UUID is written as a sequence of hex numbers in lowercase, divided by a minus sign into several groups like this:

  • 8-digit group
  • Three groups of 4 digits each
  • 12-digit group.

It is 32 digits and 128 bits total.

When placing on a form, the field of this type is displayed as a reference field. It should contain a reference on a specified column in a specified table. To specify a reference, click on a string or on a magnifier button and select a table and a column.

uuid

The validation criteria are listed below:

  1. An input value is validated that its a string value.
  2. After that, validation is performed according to a predefined pattern like described in a Description column.

00000000-0040-0000-0000-000000000008



Field Name

This field type is used to store a reference to column in the table and contains a list of columns in a referenced table.

To specify a reference, please complete the steps below:

  1. Add this field on the form using the Form Layout functionality.
  2. Right-click on the field title and select Configure Dictionary item.
  3. Scroll down to the Type Specification tab and specify the referencing table column in the Dependent on Column field.
  4. Click Save or Save and Exit to save changes.
int8An input string is validated that it is a string value.

Image

This field type is used to store uploaded image files.

In SimpleOne interface, it is displayed as a file upload modal window.

int8The value specified should not exceed this range: [9223372036854775807 ... 9223372036854775806].

List

This field type is physically implemented as a lengthless text string. It stores IDs of the records of the specified table, comma-separated. It is displayed as a list of record values (which are the references to the record edit page). It provides you the functionality of adding, previewing, and deleting records.


See the Reference columns article to learn more.

text

The validation criteria are listed below:

  • All elements must be separated by a comma.

Record Class

This field type is meant to signify the table to which the specified record relates.

For more information, please refer to the Record Class article.

int8The value specified should not exceed this range: [9223372036854775807 ... 9223372036854775806].

Reference

This field type works like an external key and stores the ID of a record of the specified table. This table must be specified in the Reference ID. It is physically stored as Big Integer.


See the Reference columns article to learn more.

In order to limit the output when referencing to a field, please use Reference Qualifiers.

int8The value specified should not exceed this range: [9223372036854775808 ... 9223372036854775807].

Time

This field type is used as a time storage. Timezone is not taken into account. The date is not stored. Size of the stored data – 8 bytes.


See the Date and datetime columns article to learn more.

time

The time can be written in the ISO 8601 format as shown below:

HH:MM:SS

Time stamp elements are validated to meet the following criteria:

ElementRangeComment
Second[00..59]

The value specified should not exceed this range.

Minute[00..59]

The value specified should not exceed this range.

Hour[00..23]The value specified should not exceed this range.

The allowed symbols are numbers and a colon ( : ).

  • No labels