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

Compare with Current View Page History

« Previous Version 83 Next »

No Bound Choices

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

Field TypeDescriptionData 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: [9223372036854775808 ... 9223372036854775807].

Char

This field type is used for storing symbolic data (for example, hash, ID, UUID, etc.). Size of the data stored is 32 bytes. 

In SimpleOne interface, it is displayed as an input field with the symbolic value in it.

char

ru

en

Decimal

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

Validation criteria:

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

Duration

This field type is used to provide a duration between two events specified. It stores an integer number inside.integerField validation of this type is that input string must contain only numbers; otherwise, it will be not accepted.

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.

varchar128 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.

textThis field can contain all kinds of symbols, and it's 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.

Routinely, it has the NULL value. When a comment is being added, the field value saving 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's lengthless until not limited by the Max Length attribute. 

JSON

This field type is physically stored as JSON.jsonb

Field content example:


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

Fields of a JSON type are validating 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.

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

Phone

This field stores a phone number.

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

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) .

textThis field can contain all kinds of symbols, and it's 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; the length is limited up to 255 symbols. 

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.

text

This field can contain all kinds of symbols, and it's 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's 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 TypeDescriptionData 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.

varchar80 symbols

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 Rule Styles.

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.

text

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.

date

A date can be written in three different ways:

  • YYYY-MM-DD (ISO 8601 format)
  • DD.MM.YYYY
  • MM/DD/YYYY

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[0000..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.

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[0000..9999]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.

You can see it on the record create/edit page. It is displayed as a text input field + dictionary button. When pressed, a modal window with two fields is shown:

  • a drop-down list with the tables;
  • a table entry selection field.
uuid

00000000-0040-0000-0000-000000000008



Image

This field type is used to store uploaded image files.

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

varchar

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 the adding, previewing, and deleting records.

textlengthless

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.

ID

Reference

This field type works like 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.

int8

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. 

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