Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
There are two types of objects in the system: tables and columns. Tables consist of columns . Both of these objects can be created via the agent interfacethat store different information depending on the type.
Tip |
---|
Role required: admin. |
You can create a column in two ways:
- via table forms.
- by adding a record to the All Columns (sys_db_column) table.
Info |
---|
Columns You can be added add columns only to existing tables. |
To create a column via a table form, complete the following steps:
- Navigate to System Definition Settings→ All Tables.
- Open the table you need to add a column to.
- In the Related Lists area, select the Columns tab.
- Click New and fill in the fields.
- Click Save or Save and Exitexit to apply the changes.
To create a column record in the All Columns table, complete the following steps:
- Navigate to System DefinitionSettings → All Columns.
- Click New and fill in the fields.
- Click Save or Save and Exitexit to apply the changes.
Tip |
---|
A column can be configured from any form it is displayed on. To do thisso, complete the following steps:
|
Column form fields
Field | Mandatory | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Table | Y | Specify the table in which the column should be created. If this table has child tables, then this column will also be added to them. This field references the Tables (sys_db_table) dictionary. After the record is saved, this field becomes read-only. | ||||||||||||
ColumnTypetype | Y | Specify a column type. The column type specifies the type of the data stored. Depending on the type selected, additional tabs or fields may appear on the form (see below). For more information, refer to the See Column Types article to learn more. After the record is saved, this field becomes read-only. | ||||||||||||
Title | Y | Specify a column title displayed onin the forminterface. It should be meaningful and human-readable. You can use Latin or Cyrillic letters, [0..9] numbers and the underscore symbol ( _ ). The Title field can be translated to other languages. | ||||||||||||
Columnname Anchor |
| Y | System column name. This field is populated automatically, depending on the Title entered, and becomes read-only after the record is saved. Latin letters, [0..9] numbers, and the underscore symbol ( _ ) are allowed. The system name must begin with a letter. System column names are used in scripts.
| |||||||||||
Comments | N | Add some comments describing that describe the column. | ||||||||||||
Active | N | Select the checkbox to activate the column. If not selected, the column is not available in the Form Layout or List Layout form layout or list layout configuration. | ||||||||||||
ReadOnlyonly | N | Select the checkbox to make the field read-only.
| ||||||||||||
Mandatory | N | Select the checkbox to make the field mandatory. | ||||||||||||
FullText Searchtext search | N | Select the checkbox to make it possible to perform a global search against the column values. When selected, search indices are created for the column values. | ||||||||||||
Display byRefref | N | Select the checkbox to display the column values instead of record IDs in the reference fields that refer to the Table. A table can have only one column with this checkbox selected. If another column is set as a displayed field, the previously selected Display by Refref checkbox is cleared. | ||||||||||||
Unique | N | Select the checkbox to prevent from creating a new record in the Table if a record with the same value in this column already exists. |
Type Specification section
The presence of this section on the column form and the field available to vary depending on the Column type selected.
Field | Mandatory | Description | |||||
---|---|---|---|---|---|---|---|
Max Lengthlength | N | Specify the maximum value length for the columnvalue. The value length cannot exceed the allowed length for the specified data type. These limitations, if any, are specified in the Column Types article.
|
The Choice, Conditions, Reference, List, Image, Template, and Field Name column types have a specific set of fields. See the description in the sections below.
See the Choice Fields article to learn more about this column type.
Field | Mandatory | Description | |||||||
---|---|---|---|---|---|---|---|---|---|
Choice Tabletable | N | Specify a table containing that contains the choice options. | |||||||
Choice Fieldfield | Y | Specify a column of the Choice Tabletable to use its values as choice options. | |||||||
Choice Typetype | Y | Select the list type. Available options:
If the Dropdown without --None-- is selected, the Default Value section becomes mandatory. | |||||||
Extra Attributesattributes | N | Input the text below to apply the radio buttons style to the choice field:
|
Conditions column type
Field | Mandatory | Description | |
---|---|---|---|
Dependent on Columncolumn | Y | Specify a reference column of the Table. The column should have the table_id name and reference to the Table dictionary to build conditions. | |
Extra Attributesattributes | N | Specify the extended condition operators. For example:
These operators become available for use on in the column view condition builder. |
Reference column type
See the Reference Fields article to learn more about this column type.
Field | Mandatory | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Reference | Y | Specify a dictionary table with the values you need. | |||||||||||
On Deletedelete | N | Define actions to be taken in case the referenced record is deleted. Available options:
|
Image column type
Field | Mandatory | Description | ||
---|---|---|---|---|
Extra Attributesattributes | N | Specify the maximum image width and height. For example:
|
Field Name and Template column types
Field | Mandatory | Description |
---|---|---|
Dependent on Columncolumn | Y | Specify a reference column of the Table. The column should have the table_id name and reference to the Table dictionary to build conditions. |
Default Value
sectionsection Anchor default value default value
default value | |
default value |
The Default Value section is available for all column types.
Attribute | Mandatory | Description | ||
---|---|---|---|---|
Default Valuevalue | Y/N | Specify a default value that will be populated automatically to the field when a new record is created. The field is mandatory when the Choice type is Dropdown without --None-- (specify a default value). | ||
Use dynamic defaultUse Dynamic Default | N | Select the checkbox if you want to generate the default value dynamically. | ||
Dynamic Defaultdefault | N | This field appears only when the Use Dynamic Defaultdynamic default attribute is set to true. Select the script from the Dynamic Default Values (sys_default_value_dynamic) dictionarytable, so its execution results are automatically calculated and entered into this field. This value will be the default value for the column specified.
|
Reference Qualifier section
The section appears for the following column types:
- Field Name
- List
- Reference
Field | Mandatory | Description |
---|---|---|
Reference Qualifier Typequalifier type | N | Select the type of reference qualifier. Available options:
|
Reference Qualifier Conditionqualifier condition | N | Configure the filters using the condition builder. This field appears when the Reference Qualifier Typequalifier type value is Simple. |
Dynamic Reference Qualifierreference qualifier | N | Select the dynamic reference qualifier from the list. This field appears when the Reference Qualifier Typequalifier type value is Dynamic. |
Reference Qualifier Fixedqualifier fixed | N | Select the checkbox to fix filters in the breadcrumbs of the dictionary table when using this field. This functionality prevents from using blocks the use of the condition builder functionality. |
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|