Field configuration in Table Builder
Summarize
Summary of Field configuration in Table Builder
Field configuration in Table Builder enables ServiceNow customers to define and customize the essential properties of fields within tables using a form editor interface. This capability ensures that form users interact with fields that are appropriately labeled, active, mandatory, read-only, and dynamically configured to meet business needs.
Show less
Key Features
- Field Details: Configure basic properties such as the field label (display name), active status (visibility), read-only mode, mandatory data entry, and label enhancements like tooltips, plural forms, and URL links.
- Default Values: Assign constant or dynamic default values to fields, automatically populating new records or empty fields upon submission. Dynamic defaults can reference other fields or use scripts for value generation.
- Function Fields: Create fields whose values are computed by functions based on other fields or constants, enabling automated calculations without scripting.
- Reference Fields: Define reference relationships to other data tables with qualifiers that filter available records. Qualifiers can be simple conditions, advanced encrypted queries or JavaScript, or dynamic filters that adjust at runtime.
- Dependent Fields: Establish dependencies between fields where the choices available in one field are controlled by the selected value in another, improving data relevance and user experience.
- Choice Lists: Manage predefined selectable options for choice-type fields, including labels, values, dependent mappings, domain assignment, activation status, and display format such as dropdowns or suggestions.
- Attributes: Customize field behavior by adding or modifying dictionary attributes, which alter how the field or table element operates.
- Formulas: Use a formula editor to calculate column values using predefined or nested formula functions without scripting, simplifying data computations within Table Builder.
Practical Application and Benefits
By leveraging these configuration options, ServiceNow customers can tailor table fields to enforce data quality, improve form usability, and automate value assignment. This flexibility allows administrators to design tables that align precisely with organizational processes and user requirements, reducing manual data entry errors and enhancing overall efficiency.
Understanding and utilizing these field configurations directly within Table Builder empowers users to create robust, dynamic tables without extensive coding, accelerating application development and maintenance.
You can configure the basic field properties for any field within Table Builder.
Field details
The Field details section lets you configure the basic field elements for the selected field in the form editor.
To see field type descriptions and learn more about what field types you can use, see Field types.
To understand the basic field properties and learn more about adding and customizing a field in a table, see Add and customize a field in a table.
| Field | Description |
|---|---|
| Label | Name of the field that is displayed for form users. |
| Active | Option that you can select to make a field active so that form users can view it. Deselecting Active inactivates a field. When Active is not selected, the field will not display in the form editor. To reactivate a field, hover to the left of the field column in the
Data tab and select the Open side panel icon [ |
| Read only | Option that you can select so that the field is not editable by the form users. |
| Mandatory | Option that you can select so that the data that your users enter in the field is required before they can save their changes to the form. |
| Configure Label details menu ( |
Properties for a field label:
|
Default value
The default value automatically fills in the field on the empty form for a new record, or fills in the field later (if the field is empty) when your user submits the new record. You can specify the default values as either a constant or use a script to generate them.
To learn how to define a default value for the fields, see Specify a default field value.
| Field | Description |
|---|---|
| Use dynamic default | Property that displays the Dynamic default value field where you can set the default value that is displayed for the field. |
| Default value | String or number that represents the default value of the field. |
| Dynamic default value | Keywords that can be entered in the search field. Your user can then select a field that contains the desired default value for the field. |
Function definition
A function field generates a value that is based on the simple computations of other fields and constants.
This section is displayed in the editor when you are creating a field and you select Function field in the Advanced properties section.
For information on defining function fields, see Function field.
| Field | Description |
|---|---|
| Function Definition | Function expression that generates the desired value for the field. |
Reference
A reference qualifier restricts the records that are available for reference fields.
For information on defining reference fields, see Reference field type.
| Field | Description |
|---|---|
| Reference | Data table that the selected field references. |
| Use reference qualifier | Qualifier options:
|
| Reference qualifier | Referenced qualifier that is based on your user's selection for the Use reference qualifier field. |
| Edit conditions | Hyperlink to launch a pop-up window where your user can enter a simple conditional expression for the Reference qualifier field. |
Dependent field
A choice or reference field can be declared dependent on another field on the same table. Dependent fields limit their available values based on the value in the dependent field.
Using dependent fields turns on choices. The available choices for your field rely on the value that a user chooses for the dependent field.
For information on defining field dependencies, see Make a field dependent.
| Field | Description |
|---|---|
| Use dependent field | Field dependency that you can activate for the selected field. |
| Select dependent field | List where you select a different field on the form that can then be used to control which choices that are displayed to users in the form field you are configuring. |
Choices
A choice list is a type of field that lets the user select from a pre-defined set of choices. You can define the available choices and customize the behavior and appearance of your choice lists. For information about the choice list configuration, see Choice list field type.
In the Choices section of the Config panel, select Use choices, and then select Edit or the +Add icon to customize the available choices for the selected field.
| Field | Description |
|---|---|
| Label | Text that is displayed to your users for the choice in the list. |
| Value | Value for the choice field. |
| Dependent value | Value that you map in the selected Dependent field to the entered choice. |
| Domain | Domain that the choice resides in. |
| Active | Option to display the choice as a selection. Inactive choices do not display for users. |
| Options | Option that enables you to select Use the choices from another field to duplicate the displayed choices for this field from the choices in another selected field. |
| Show choices as | Options that control how a list of choices displays for users of your form.
|
| Filter | Option to filter the choice list. Select Show inactive choices to view all choices (including inactive ones). |
Attributes
A dictionary attribute alters the behavior of the table or element that the dictionary record describes. You can add or modify the dictionary attributes. For information about dictionary attributes, see Dictionary attributes.
In the Attributes section of the Config panel, select Edit or +Add to customize the available attributes for the selected field.
| Field | Description |
|---|---|
| Attribute | Option list of available attributes. Select an option from the list of available attributes. To review the list of available attributes, see Dictionary attributes. |
| Value | Attribute value that you can set to alter the field behavior that is described by the dictionary record. |
Formula
A formula allows you to calculate the value of a column without writing a script. You can use one of the predefined formulas or combine two are more formulas to calculate the column value. For information on the predefined formulas and examples, see Formulas.
In the Formula section, select Edit or + Add to edit or add a formula.
| Field | Description |
|---|---|
| Formula editor | A text-editor like interface that allows you to enter and edit formulas. |