Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
There are two types of objects in the our system: tables and columns. Tables consist of columns. Both of these objects can be created via the agent interface.
Tip |
---|
Role required: admin. |
You can create a column in two A column can be created in two ways:
- via Via the table formsupdating form
- Adding the by adding a record to the All Columns table.
Info |
---|
Columns can be added only to existing tables. |
To create a column via a table form, complete the following stepsOption 1:
- Navigate to System Definition → All Tables.
- Choose the a table you need to add a column to.
- Scroll down to Click New in the Column tab in the Related Listslists area and select the Column tab.
- Click New and fill Fill in the form.
- Click Save or Save and Exit to apply changes.
To create a column record in the All Columns table, complete the steps belowOption 2:
- Navigate to System Definition → All Columns.
- Click New and fill in the form.
- Click Save or Save and Exit to apply changes.
Column attributes
AttributeMandatoryDescriptionTable
YSpecify 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 to the Tables (sys_db_table) dictionary.
Column Type
YSpecify 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 Column Types article.
Title
YSpecify a column title displayed on the form. It should be sensible and human-readable. You can use Latin or Cyrillic letters, [0..9] numbers and the underscore symbol ( _ ).Column Name
YSystem column name. This field is populated automatically depending on the title entered. Latin letters, [0..9] numbers and the underscore symbol ( _ ) are allowed.
NoteColumn name prefixes are added depending on the circumstances listed below:
If you create a column within any table related to vendor applications (Simple, ITSM or Personal Schedule), then this column automatically gets the "c_" prefix. For example:
Title | Column name |
---|---|
New column | c_new_column |
Comments
NPut some comments here describing the column.Active
NSelect the checkbox to activate or deactivate the column.
If unselected, the column will be not visible in the Form Layout or List layout configuration.
Read Only
NSelect the checkbox to make the field read-only.
Info |
---|
The Read Only attribute is not available for selection when the Journal Input type is chosen in the Column Type field. |
Mandatory
NSelect the checkbox to make the field mandatory.Full Text Search
NSelect the checkbox to make it possible to perform a Global Search against the current column.info
Info |
---|
Note that after activating this attribute, search indices (records in the Search Indices (sys_search_index) table) for the column will not be created automatically. To create these indices, update the records. |
Display by Ref
NEnable the attribute Display by Ref,so the column value will be displayed in the reference fields.By default, this attribute is set equal to 'true' for the sys_id column this column contains unique IDs.
If a table contains a column that has Display by Ref equal to 'true', the value of this field will be displayed when referencing this table in the Reference field.
Unique
NSelect the checkbox to forbid to add a new record with a certain value, if a record with the same value already exists.Type Specification Tab
In SimpleOne, several column types have an extended attribute set. In addition to the standard field set, these column types demonstrate a dynamic change of the sys_db_column object attribute set depending on its type. Some of these attributes can be defined in the Type Specification tab.
Tipicon | false |
---|---|
title | Most column types can have a limited number of characters defined by the Max Length field. |
Max Length
NSpecify the maximum value length for the column. The value length cannot exceed the allowed length for the specified data type.
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:
Default Value Tab
The Default Value tab is available for all column types.
AttributeMandatoryDescriptionDefault Value
NSpecify a default value that will be populated automatically to the field when a new record is created.
Use Dynamic Default
NSelect the checkbox if you want to generate the default value dynamically.Dynamic Default
NThis field appears only when the Use Dynamic Default attribute is set to 'true'.
Select the script from the Dynamic Default Values (sys_default_value_dynamic) dictionary, so its execution results will be automatically calculated and entered into this field. This value will be the default value for the column specified.
Note |
---|
|
Reference Qualifier Tab
Info |
---|
The Reference Qualifier tab appears for the following column types:
|
Reference Qualifier Type
NSelect the type of reference qualifier. Available options:
- Simple
- Dynamic.
Reference Qualifier Condition
NConfigure the filters using the Condition Builder.
This field appears when the Reference Qualifier Type value is Simple.
Dynamic Reference Qualifier
NSelect the dynamic reference qualifier from the list.
This field appears when the Reference Qualifier Type value is Dynamic.
Reference Qualifier Fixed
NSelect the checkbox to fix filters in the breadcrumbs of the dictionary when using this field. This functionality will block using the Condition Builder functionality.For more information about the column attributes, please refer to the Column Attributes article.
Info |
---|
Columns can be added only to existing tables. |