Configure related record definitions

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Related record definitions identify the types of records that the dynamic related records feature can display in the Related Records tab.

    Procedure

    1. Navigate to All > Dynamic Related Record > Related Record Definitions.
    2. Click New.
    3. Enter a name for the definition in the Display label field.
      This label appears in the filter dropdown list in the Related Records tab. Agents click the filter icon and select the type of related record to view in the Related Records list.
    4. In the Queries from field, select the table that stores the related record data to be retrieved.
    5. Select a table in the Primary reference table field.
      The primary table used in the definition script. At runtime, the script expects to get passed a record of this type. If you entered a data type in the Primary reference field in the related record context, enter the table for that data type.
    6. Optional: If desired, select a table in the Secondary reference table field.
      The secondary table used in the definition script. At runtime, the script expects to get passed a record of this type. If you entered a data type in the Secondary reference field in the related record context, enter the table for that data type.
    7. Use the Script field to define which records are retrieved based on the context.

      At runtime, the script evaluates the current record's context, along with any selected conditions, and dynamically displays the related records.

    8. Click Submit.