Add Field to Model
Adding a field to a model allows expanding the data structure by including new information. This instruction will show how to add a new field to an existing model.
When Needed
- You need to store additional information in model records.
- You want to expand the data structure with new characteristics.
- You need to add a field for a new data type.
- You want to improve information organization in the model.
What's Important to Know
- Model field — structure element that defines the type and format of stored data.
- You can add fields of various types (text, number, date, choice, etc.).
- Each field has a unique name and can have settings (required, default value).
- After adding a field, it is available for filling in all model records.
Prerequisites
You are logged in with integrator rights. You have navigated to the Custom Datamodule viaApps -> Custom Data.There is a model in the system to which you need to add a field. You have determined the type and parameters of the new field.
Step-by-Step Instructions
- In the
Custom Datamodule, find the needed model in the model list. - Open the model by clicking on its name or icon.
- In the opened model, find the "Fields" or "Fields" section or the "Add Field" button.
- Click the "Add Field" or "Create Field" button — the field creation form opens.
- In the field creation form, fill in parameters:
- Field Name — enter a unique field name.
- Field Type — select the data type (text, number, date, choice, boolean, etc.).
- Field Description — add a description (optional) for better understanding of the field's purpose.
- Required Field — set whether the field is required for filling.
- Default Value — specify the default value (optional).
- Additional settings depending on the field type.
- Click the "Save" or "Add" button — the field is added to the model.
What Happens After
The field is added to the model and appears in the model structure. The field is available for filling in all model records (existing and new).
How to Verify It Worked
- Check that the field appears in the model's field list.
- Make sure the field displays in the create/edit record form.
- Check that the field type and other settings are set correctly.
Other Methods
- You can configure the field type after its creation through field editing.
- Some field types have additional settings (for example, choice options for "choice" type fields).
- Fields can be ordered and grouped for better organization.