Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Include Related Object Fields in a Relationship Graph

          Include Related Object Fields in a Relationship Graph

          Although a Relationship Graph node retrieves from a single object type, and a traversal from two objects types, you can select specific fields in other related objects. For example, in a Contact node, you can retrieve the Name of the Account associated with the Contact.

          Before You Begin

          • Create a Custom Object Tab for Relationship Graph Node Types or Relationship Graph Traversals if it doesn't already exist.

          To select related object fields in a node, you must manually edit the Field List in the Relationship Graph Node Type record. To select related object fields in a traversal, you must manually edit the field values in the Relationship Graph Traversal record.

          For more information about relationship names and other relevant topics, see Relationship Queries in the Salesforce help. Relationship Graph Node Types support only child-to-parent relationship queries up to five levels.

          1. Open the App Launcher and then select Relationship Graph Node Types or Relationship Graph Traversals.
          2. Click the name of the Relationship Graph Node Type or Relationship Graph Traversal to which you want to add one or more related object fields.
          3. In a Relationship Graph Node Type, click the pencil (Edit) icon for the Field List. In a Relationship Graph Traversal, click the pencil (Edit) icon for the field with the value you want to change.

            Field names in the Field List are comma-separated and quoted. For example, a Field List for a Contact node might look like this:

            ["Id","Name","Birthdate"]
          4. Add the related object fields using relationship notation.

            For example, you can retrieve the Name of the Account associated with a Contact in the Field List:

            ["Id","Name","Birthdate","Account.Name"]

            For custom fields, the relationship name matches the name of the field that references the parent object, except that the relationship name ends with __r instead of __c, for example Account.vlocity_ins__PrimaryContactId__r.Name.

          5. Click Save.
           
          Loading
          Salesforce Help | Article