Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Без вариантов выбора
Типы полей, которые не предлагают пользователям вариантов для выбора.
Тип поля | Описание | Скалярный тип | Длина или пример значения, критерии проверки |
---|---|---|---|
Big Integer | Это числовой тип поля, используемый для хранения огромных чисел. Размер сохраняемых данных – 8 байт. В SimpleOne тип отображается в виде поля ввода с числовым значением. | int8 |
|
No Bound Choices
Field types that do not offer to a user any choices to select from.
Field Type | Description | Scalar Type | Length or Example, validation criteria | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Big Integer | It is a numeric field type used to srote huge numbers. The size of the data stored is 8 bytes. In SimpleOne, it is displayed as an input field with a numeric value. | int8 |
| ||||||||||||||||||||||
Days of week | This field is displayed as a drop-down list with checkboxes presenting days of weeks: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. One or more options can be selected. Technically, the field stores a numeric value or a sum of values. The size of data is 2 bytes. Each day of week is assigned with a value: Monday = 1 For example, if Tuesday (2) and Wednesday (4) are selected, the field value is 6. | int2 | Minimum value is 0 (days are not selected). Maximum value of the field is 127 (all days selected). | Это поле отображается в виде раскрывающегося списка с флажками, указывающими дни недели: Понедельник, Вторник, Среда, Четверг, Пятница, Суббота, Воскресение. Можно выбрать несколько дней. Технически поле хранит числовое значение или сумму значений. Размер данных одной опции равен 2 байтам. Каждому деню недели присвоено значение: Понедельник = 1 Например, если выбраны Вторник (2) и Среда (4), значение поля будет равно 6. | int2 | Минимальное значение – 0 (дни не выбраны). Максимальное значение поля – 127 (все дни выбраны). | |||||||||||||||||||
Decimal | Этот тип поля поддерживает нецелые числа, с двумя цифрами после разделителя (например | 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 in milliseconds. It stores an integer numberЭтот тип поля используется для указания продолжительности между двумя событиями в миллисекундах. Оно хранит целое число. | int8 | The validation processing:
| Encrypted Password |
Tip |
---|
See the Password columns article to learn more. |
Float
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.
Info |
---|
There are two modes to use in this field: rich text editor and source editor. You can enter the source editor by clicking Source on the panel.
|
Changes made in one of modes are displayed in another, and vice versa.
Процесс проверки:
- Срока ввода классифицируется по дате и времени (дни, часы, минуты, секунды).
- Значение преобразуется в общее количество миллисекунду и сохраняется как цельночисленное значение. (big integer).
Encrypted Password
Этот тип поля используется для обеспечения безопасного хранения паролей в базе данных с возможностью декодирования (двухстороннего шифрования).
Tip |
---|
Читайте статью Колонки типа Password, чтобы узнать больше. |
Float
Критерии проверки:
- Допускаются только цифры, запятая или точка.
- Максимальная длина значения – 14 символов.
- Максимальный размер дроби – 12 символов (после разделителя, которым может выступать точка или запятая, в зависимости от пользовательских предпочтений).
HTML
Этот тип поля реализован как виджет форматированного текста. Для него существуют различные настройки, которые отображаются в виде HTML-тегов в базе данных.
Когда это поле доступно только для чтения, данные отображаются в формате HTML; в ином случае они отображаются как текст, который можно редактировать и преобразовывать.
Info |
---|
В этом поле можно использовать два режима: редактор форматированного текста и редактор исходного кода. Вы можете войти в редактор исходного кода, нажав Source на панели.
|
Изменения, сделанные в одном из режимов, отображаются в другом, и наоборот.
Это поле может содержать все виды символов, оно не имеет длины, пока не будет ограничено атрибутом Максимальная длина.
Integer
Это числовой тип поля. Размер сохраняемых данных – 4 байта.
Указанное значение не должно превыщать этот диапазон
Integer
This is a numeric field type. The size of the stored data – 4 bytes.
: [-2147483648 ... +2147483647].
Journal Input
Этот тип поля используется для работы с виджетом комментариев. Из-за своих особенностей оно не может быть доступно только для чтения. Он реализован в виде текстовой области с подсказкой внутри поля или заголовком поля.
Когда в него добавляются комментарии, они сохраняются записями в таблицах Активности
This field type is used to operate with the comment widget. Due to its features, the field cannot be read-only. It is implemented as a text area with a placeholder or the field title.
When comments are added, they are stored in the Activities Stream Fields (sys_activities_stream_field) and in the Activity Feed Items и Объекты ленты активности (sys_activity_feed_item) tables.
В таблице Активности The Activities Stream Fields (sys_activities_stream_field) table stores comments from Activity Feeds that are working within UI formatter. хранятся комментарии из виджета Ленты активностей, который работает как Форматтер интерфейса.
В таблице Объекты ленты активности The Activity Feed Items (sys_activity_feed_item) table stores comments for the widget that can be configured via <activityFeed> SimpleTagхранятся комментарии из виджета, который настраивается Simple тегом <activityFeed>.
Tip |
---|
See the Text columns article to learn moreКолонки типа Text, чтобы узнать больше. |
Info |
---|
If async after business rules run, you can work with the field values of the Journal Input type in the same way as you do within after rules, when referring to the current context. |
Если выполняется асинхронные бизнес правила типа after, вы можете работать со значениями полей типа Journal Input так же, как и в правилах типа after при обращении к current контексту. |
JSON
Этот тип поля хранит значения в JSON формате.
Tip |
---|
Читайте статью Колонки типа Text, чтобы узнать больше. |
Пример значения поля
JSON
This field type is physically stored as JSON.
Tip |
---|
See the Text columns article to learn more. |
Field content example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{"name": "White", "color": "#ffffff", "policy": "Open", "sys_id": 158462172516422349, "application_id": 155931135900000002, "sys_created_at": "2020-03-19 12:42:05", "sys_created_by": 155931135900000001, "sys_updated_at": "2020-03-19 12:42:05", "sys_updated_by": 155931135900000001} |
Fields of the 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
This field stores passwords. It is displayed as an input field.
Tip |
---|
See the Password columns article to learn more. |
Поля типа JSON проверяются так, как поля типа String, содержащие JSON. Чтобы узнать больше, обратитесь к официальной документации JSON.
Password
Этот тип поля хранит пароли. Он отображается в виде поля для ввода.
Tip |
---|
Читайте статью Колонки типа Password, чтобы узнать больше. |
Percent Complete
Критерии проверки поля:
- Может содержать числа
Percent Complete
Field validation criteria:
- May contain numbers [0..100].
- Maximum fraction size is 2 symbols.
- Максимальный размер дроби – 2 символа.
- Максимальная длина – 6 символов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, он отображается в виде поля ввода с номером телефона.
Tip |
---|
See the Text columns article to learn moreЧитайте статью Колонки типа Text, чтобы узнать больше. |
Phone validation criteriaКритерии проверки номера:
- May containМожет содержатть: (+-), spaces and numbersпробелы и цифры.
- Maximum length is 15 symbolsМаксимальная длина – 15 символов.
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В интерфейсе SimpleOne он отображается как виджет CodeMirror (компонент JavaScript, который обеспечивает возможность редактировать код в браузере).
Tip |
---|
See the Text columns article to learn moreЧитайте статью Колонки типа Text, чтобы узнать больше. |
Это поле может содержать все виды символов и не имеет длины, пока не будет ограничено атрибутом Максимальная длина.
Small Integer
This is numeric field type. The size of the data stored – 2 bytesЭто числовой тип поля. Размер сохраняемых данных – 2 байта.
String
This field type is physically implemented as a string 255 symbols length.
In SimpleOne interface, it is displayed as a text input field.
Tip |
---|
See the Text columns article to learn more. |
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.
Tip |
---|
See the Text columns article to learn more. |
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.
Tip |
---|
See the Translated Text columns article to learn more. |
URL
This field type is used to store a URL.
Choice-like Fields
Field types that offer choices to a user and can be filled by selecting a value.
Этот тип поля реализован в виде строки длиной 255 символов. В интерфейсе SimpleOne, он отображается как поле ввода текста.
| varchar | Это поле может содержать все виды символов. Если длина значения не задана, то она ограничена до 255 символов; в ином случае ограничение длины может быть больше или меньше. | |||
Text | Этот тип поля реализован в виде текстовой строки без указаной длины. Память выделяется динамически при обработке значения поля.
| text | Это поле может содержать все виды символов и не имеет длины, пока не будет ограничено атрибутом Максимальная длина. | ||
Translated Text | Этот тип поля позволяет одному и тому же полю отображать различное значение в зависимости от выбранного пользователем языка.
| varchar | Это поле может содержать все виды символов и не имеет длины, пока не будет ограничено атрибутом Максимальная длина. | ||
URL | Этот тип поля предназначен для хранения URL. | varchar | Это поле может содержать все виды символов. Длина значения ограничена до 2048 символов. |
Поля типов Choice
Типы полей, которые предлагают выбор пользователю и могут быть заполнены путем выбора значения.
Field Type | Description | Scalar | Field Type | Description | Scalar Type | Length 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 В интерфейсе SimpleOne он отображается как флажок. Вы можете изменить его значение по умолчанию на 'true' or 'false' by checking or unchecking it установив или сняв флажок. | boolean | true или false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Choice | Этот тип поля реализует функциональность выбора. В интерфейсе SimpleOne он отображается в виде выпадающего списка This field type implements the choices functionality. In SimpleOne interface, it is displayed as a drop-down list.
| varchar | This field can contain all kinds of symbols. If the string length is not set, then it is limited up to 80 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, when configuring Style Rules. | varchar | This field can contain either 4 or 7 symbols (concise or full RGB record) starting with the hash sign (#). Allowed symbols are: numbers, English letters (A to F) and the hash sign. Example: #B80000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| varchar | Это поле может содержать все виды символов. Если длина значения не задана, то она ограничена до 80 символов. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Color | Этот тип поля предназначен для хранения и обмена информацией о системном цвете или цвете элемента интерфейса. Этот тип поля используется, например, при настройке Правил оформления. | varchar | Это поле может содержать 4 или 7 символов (краткая или полная запись RGB), начиная с символа решетки (#). Допустимые символы: цифры, английские буквы (от A до F) и символ решетки. Пример: #B80000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Conditions | Этот тип поля используется для построения фильтров И/ИЛИ. В интерфейсе SimpleOne он отображается как виджет настройки фильтра. В нем хранятся условия JSON.
| text | Критерии проверки:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Date | Этот тип поля хранит даты в следующем формате: ГГГГ-MM-ДД с точностью до 1 дня и без указания времени суток. Размер сохраняемых данных – 4 байта. В интерфейсе SimpleOne он отображается как поле ввода с выбором даты. | date | Дата должна иметь формат ISO 8601 format:
Элементы даты проверяются на соответствие следующим критериям:
Допустимые символы в поле:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Date/Time | Этот тип поля хранит отметку времени, измеренную в секундах. В интерфейсе SimpleOne он отображается как поле ввода с выбором даты и времени. | timestamp | Дата и время могут быть записаны в ISO 8601 формате, как показано ниже: ГГГГ-MM-ДД чч:мм:сс Элементы даты и времени проверяются на соответствие следующим критериям:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Date Time Specific | Этот тип поля хранит отметку времени, измеренную в секундах. В интерфейсе SimpleOne он отображается как поле ввода с выбором даты и времени. Этот тип поля в основном используется в расписаниях. В отличие от поля типа Date Time, этот тип использует параметр смещения UTC, который указан в системном часовом поясе. | timestamp | Дата и время могут быть записаны в ISO 8601 формате, как показано ниже: ГГГГ-MM-ДД чч:мм:сс Элементы даты и времени проверяются на соответствие следующим критериям:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Document ID | Этот тип поля используется для хранения различных ID. Они хранятся как универсальные уникальные идентификаторы (UUID) | Conditions |
Tip |
---|
See the Condition columns article to learn more. |
The validation criteria are:
- This field can contain any symbols.
- This field should have the Dependent on column attribute set.
- This field should contain Condition Operators to be a valid condition.
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.
Tip |
---|
See the Date and datetime columns article to learn more. |
A date must have the ISO 8601 format:
- YYYY-MM-DD
Date elements are validated to meet the following criteria:
Element | Range | Comment |
---|---|---|
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.
Tip |
---|
See the Date and datetime columns article to learn more. |
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:
Element | Range | Comment |
---|---|---|
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.
Tip |
---|
See the Date and datetime columns article to learn more. |
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:
Element | Range | Comment |
---|---|---|
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.
Expand | ||
---|---|---|
| ||
UUID is written as a sequence of hex numbers in lowercase, divided by a minus sign into several groups like thisописывается как серия из 32 шестнадцатеричных символов, разделённых дефисами на пять групп по схеме 8-4-4-4-12:
It is 32 digits and 128 bits total. When 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 icon
|
В общем 128 бит. На форме поле этого типа отражается как ссылочное поле. Он содежить ссылку на указанный столбец в указанной таблице. Чтобы указать ссылку, нажмите на строку или на иконку лупы, выберите таблицу и столбец. здесь должно быть изображение |
Критерии проверки:
- Введенное значение проверяется на то, что оно является строчным значением.
- Далее, проверка выполняется в соответствии с заранее заданным шаблоном, как описано в в Описании
The validation criteria are listed below:
- An input value is validated that it is a string value.
- After that, validation is performed according to a predefined pattern like described in the Description column.
Expand | ||
---|---|---|
| ||
0229fa8a-bcbe-1f54-0163-45785d8a0001 |
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, complete the steps below:
- Add this field on the form using the Form Layout functionality.
- Right-click on the field title and select Configure field item.
- Scroll down to the Type Specification tab and specify the referencing table column in the Dependent on Column field.
- Click Save or Save and Exit to save changes.
Этот тип поля используется для хранения ссылки на колонку в таблице и содержит список ее колонок.
Чтобы указать ссылку, выполните следующие действия:
- Добавьте это поле на форму используя настройку Представления формы.
- Правой кнопкой мыши нажмите на заголовок поля и выберите Настройка поля.
- Перейдите в секцию Настройка типа и укажите колонку таблицы в поле Зависит от колонки.
- Нажмите Сохранить или Сохранить и выйти.
Image
Этот тип поля используется для хранения загружаемых файлов изображений в следующих форматах:
Image
This field type is used to store uploaded image files in the following formats: jpeg, png, gif, webp, bmp, svg, ico.
In SimpleOne interface, it is displayed as a file upload modal windowВ интерфейсе SimpleOne оно отображается в виде модального окна загрузки.
List
This field type is physically implemented as a lengthless text string. It stores records IDs of the specified table. It is displayed as a list of record values (which are the references to the record form). It provides you the functionality of adding, previewing, and deleting records.
Tip |
---|
See the Reference columns article to learn more. |
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.
Tip |
---|
See the Record Class article to learn more. |
Этот тип поля реализован в виде текстовой строки без указанной длины. Он ID записей указанной таблицы. Он отображается в виде списка значений записи, которые являются ссылками на форму записей.Он предоставляет возможность добавления, предварительного просмотра и удаления записей.
Tip |
---|
Читайте статью Колонки типа Reference, чтобы узнать больше. |
Критерии проверки:
- Все элементы должны быть отделены запятой.
Record Class
Этот тип поля предназначен для обозначения таблицы, к которой относится определенная запись.
Tip |
---|
Читайте статью Колонка типа Record Class, чтобы узнать больше. |
999999999999999999].
Reference
Reference
Этот тип поля работает как внешний ключ и хранит ID записей указанной таблицы. Эта таблица должна быть указана в поле Ссылка. Значение хранится как цельночисленное (big integer).
Tip |
---|
Читайте статью Колонки типа Reference, чтобы узнать больше. |
Info |
---|
Чтобы ограничить количество записей при ссылке на поле, используйте Определитель ссылок. |
This field type works like an external key and stores the record ID of the specified table. This table must be specified in the Reference ID. It is physically stored as Big Integer.
Tip |
---|
See the Reference columns article to learn more. |
Info |
---|
In order to limit the output when referencing to a field, please use Reference Qualifiers. |
Template
This field type allows storing a set of column names and their values in JSON format for all tables. Nested JSON format is used. On the first nesting level, the element numbers starting from 1 are used as keys.
Этот тип поля позволяет хранить набор имен колонок и их значений в формате JSON для всех таблиц. Используется вложенный формат JSON. На первом уровне вложенности в качестве ключей используются номера элементов, начиная с 1.
Из-за того, что тип поля хранит пары данных: наименование колонки ↔ значение, он обычно используется для шаблонных форм. Поле позволяет применять сохранненые данные к записям, созданным из шаблонов.
Элементы являются объектами в следующем формате:
- 'ключ' − ID колонки в справочнике Колонки
Because the field type stores data pairs: column name ↔ value, it is commonly used on template forms. The field allows applying stored data to records created from templates.
The elements are objects in following format:
- 'key' − the column ID in the Columns (sys_db_column) dictionary
- 'valueзначение' − the column value.значение колонки.
Этот тип поля требует заполнения поля Зависит от поля в секции Настройки типаThis type of field requires populating the Dependent On Column field in the Type Specification tab with the appropriate table.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
// following columns of user dictionary are used: username, active, locked_out { "1": { "156943341303994936": "new_user" }, "2": { "156943341308746896": "1" }, "3": { "155931135900001086": "0" } } |
Time
This field type is used as a time storage. Timezone is not taken into account. The date is not stored. The size of the stored data – 8 bytes.
Tip |
---|
See the Date and datetime columns article to learn more. |
Этот тип поля используется для хранения времени, не учитывая часовой пояс. Дата не сохраняется. Размер данных – 8 байтов.
Время записается в ISO 8601 формате, как показано ниже:
чч:мм:сс
Элементы времени проверяются на соответствие следующим критериям::
Элемент | Диапазон | Комментарий |
---|---|---|
Секунда |
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:
Element | Range | Comment | |
---|---|---|---|
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 ( : ).
Table of Contents | ||
---|---|---|
|