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 properties of fields within tables efficiently. This capability allows you to control field behavior, appearance, default values, dependencies, and data validation directly through a user-friendly form editor interface without scripting, enhancing table design and user experience.
Show less
Key Features
- Field Details: Configure basic properties such as field label, activation status, read-only state, mandatory entry, tooltips, plural labels, and URL links to guide and restrict user input effectively.
- Default Values: Set static or dynamic default values for fields, either as constants or via scripts, ensuring fields are prepopulated appropriately to reduce user effort and data entry errors.
- Function Fields: Define computed fields using function expressions that calculate values based on other fields or constants, adding dynamic data capabilities without custom scripting.
- Reference Fields: Specify referenced data tables and apply qualifiers (simple, advanced, or dynamic) to filter reference data, thus controlling valid options and improving data integrity.
- Dependent Fields: Establish dependencies between fields so that available choices in one field are filtered based on the value selected in another, streamlining user input and enforcing logical data relationships.
- Choice Lists: Create and customize choice fields with labels, values, domain restrictions, active/inactive status, and display options such as dropdowns or suggestions to guide user selection.
- Attributes: Modify dictionary attributes for fields to alter behavior at the database or UI level, enabling advanced customization of field functionality.
- Formulas: Use predefined or custom formulas to calculate column values without writing scripts, supporting complex data computations within Table Builder.
Practical Benefits for ServiceNow Customers
- Streamlined field customization within tables using a graphical interface, reducing the need for custom coding.
- Improved data quality and user experience through mandatory fields, read-only settings, and contextual tooltips.
- Enhanced data integrity by controlling reference data and enabling dynamic filtering via qualifiers and dependencies.
- Flexibility in setting default values and computed fields to automate data population and calculations.
- Ability to tailor choice lists and field attributes to match organizational requirements and domain contexts.
By leveraging these configuration options in Table Builder, ServiceNow customers can efficiently design tables that meet business needs, ensure consistent data entry, and simplify 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. |