This data type is used to create a field that pulls its possible values from more than one source table. Although this data type isn't very common, it is perfectly suited to specific scenarios.

For example, you might have an Assignee field in the Task table pull its values from the People table as well as from the Team table so you can assign not only to individuals but also to whole teams.

Assignee field showing teams and individuals in the drop-down

Creating a Link from Multiple Tables

To create a Link to Single Field from Multiple Tables:

  1. Click Setup [Table], or click the Setup gear in the top-right corner, click Tables, select the table, and click Edit.
  2. Go to the Fields tab.
  3. Hover over New and select "Link to single field from multiple tables." This opens the wizard on the Table tab.

Table Tab

On the Table tab, you configure the data source for the linked field.

  1. Select the source table for your linked field. This is the table that holds the data you want to reference in the table you're working in. For example, if you're editing the Contract table to pull in the name of a salesperson, you would select the People table. You can select tables from the current KB, another  KB, or an external database table.
  2. Click Add Source Table.
  3. Repeat steps 1-2 for any other tables you want to pull from.

    You can create a field that pulls from different source data types, such as pulling a Text field from one source table and a Floating Point field from another. In this case, the field is displayed as a Text field.

  4. In the Admin Notes field, enter a brief description of the field and its function, as well as any interaction with other fields or automation that other administrators might need to know.

Mapping Tab

The Mapping tab holds some of the most important options for configuring the linked field.

  1. First, select whether to allow the linked field to hold links to multiple records. Links with this option are referred to as "multiple values enabled," and they work differently from links that connect only one record at a time. After you create the field, you can't change this selection. Choose one of the options:
  2. If you chose No, you can also choose whether to allow entries not in the source table. If you select this checkbox, users can enter values that don't match a record in the source table, but there won't be a link since there isn't a record to link to. We refer to non-source values in a linked field as a “loose link” as opposed to a “strict link.” If you do allow entries that aren't in the source table, select the Do not update option in the next section.
  3. Next, select whether to update your linked field when updates are made in the source table. Sometimes you want to keep the linked field in sync, such as keeping a user's contact information up to date. In other cases, you might want to preserve the original value, such as when pulling in the original price paid for an item. Choose one of the options:

Field Tab

Here, choose a field from each table that you want to pull into the target table:

  1. Enter an Import Field Label to display in the target table.
  2. For each source table you selected, choose the field from the drop-down list of source table fields.

Permissions Tab

The Permissions tab contains options similar to other wizards, but it also has a specific bulk option to copy permissions from the source table for the linked fields. To view these permissions, click View Permissions.

You also have the option to replace these permissions with those copied from a field in the current table. To copy the permissions from a field in the current table, select it and click Copy Permissions.

When a field is linked to a field in another table, users must be given View Others' permissions to the field in the source table to be able to use the field in the target table. This allows them to view the currently selected value or select a new value for the linked field.

Options Tab

Now, determine how your linked field or fields should behave.

  1. First, choose how to set the default value, if at all:
  2. In the next section, you can make your linked field required, not required, or required only under certain conditions.
  3. Set Deletable? to Yes or No.
  4. In the next section, you can restrict the source table records that are available for users to link. For example, to choose a company location in a contract, you could use a saved search to show only locations in which the Company Name matches the Contract Company Name.

    If you want to use a matching field search criterion, select the field in the source table from the field drop-down, choose an operator, and choose variable rather than value from the next drop-down, then click Formula Help. Go to the Parent Field tab to find the field in the current table that you want to match against and to insert it into the search.

  5. If desired, add visibility conditions to hide or show the field as needed.
  6. If desired, add conditions to make the field editable or not editable as needed. For example, if you chose the "Always reapply" option in step 2, you might want to make editing conditional.

Display Tab

Now that you've defined the behavior, it's time to determine how the linked field or fields should look. Before getting into the wizard options, take a look at the different outputs you can offer your users.

Drop-down lists are a common choice for this data type because they show all the available options from both tables. If there are a lot of options to choose from, an input box with a pop-up might work better.

Setting Display Options

To configure your field display in the wizard:

  1. Select one of the display options. Drop-down lists are a common choice for this data type because they show all the available options from both tables.

  2. If you don't have multiple values enabled, you can click the edit icon next to the selected display option to adjust the length of the field. By default, linked fields are long enough to accommodate the longest possible value from the source record, which often disrupts existing layouts and takes up more space than necessary. Editing the field length here does not affect the field length in the source table. You can also add an instructional pop-up or input instruction for the field here.
  3. If your display option shows values as a list, or if you're allowing multiple values in the field:
    1. Select the table order the system uses to show the values.
    2. Choose whether to show the source table name as a prefix to its values. You can enable this for none, some, or all of the source tables separately. This can be useful when the tables might have identical values, or when you want to make it easier for users to skim a long list of options.
  4. If your display option includes a look-up:
    1. Select the table or tables to search by default. When a user searches in the field or the look-up window, these tables are the default selections.
    2. Select a view to use in the look-up window for each source table. Make sure the view you select includes enough information for users to select the correct value.
  5. Complete any remaining standard field display options: input instructions, text alignment, and label and instruction placement.



Related articles