Skip to main content
Register now for TDX! Join the must-attend event to experience what’s next and learn how to build it.

Add a Child Node to the Relationship Graph

Learning Objectives

After completing this unit, you’ll be able to:

  • Add a child node to an ARC relationship graph.
  • Configure a child node.
  • Customize an ARC relationship graph to meet the needs of the business.

Customize the B2B Graph Template

The B2B graph template is a great starting point for building an ARC graph. The nodes are preconfigured with display fields and record actions, but you can also update them to match those requested by users. You can even customize the node labels.

In this unit, you learn how to customize the graph’s nodes.

Customize the Subsidiaries Node

In the Cumulus example, the subsidiaries node has a many-to-many relationship type that shows accounts that are related to a parent account.

Customize subsidiaries node display: Properties tab.

A many-to-many relationship enables each record of one object to be linked to multiple records from another object and vice versa. When modeling this type relationship, use a junction object to connect the two objects you want to relate to each other.

On the subsidiaries node:

  • The junction object of account-account relationship represents a relationship between two accounts, such as between a primary business and a franchise. For example, an account-account relationship links Buttercream Bakery and its franchise Buttercream Bakery Downtown.
  • The parent node lookup field is a field on the junction object that points to the parent node object.
  • The object lookup field is a field on the junction object, which is account-account relationship, that points to the node’s object.

Now, customize the subsidiaries node on the B2B graph.

  1. Open the Retail Banker Graph you created in the previous unit.
  2. Select the Subsidiaries node.
  3. On the Properties tab, remove the filter and save your changes.
  4. Click the Display tab.
  5. Under Card Information, customize the card fields for your users.
    • Select Customize field labels.
    • To customize the first field, click the X to remove Country, and select Parent Account and Account Name.
    • Enter Main POC in the Field Label text box.
    • To customize the second field, click the X to remove Industry and select Billing Address.
    • Enter Address in the Field Label text box.
    • To update the last field, select Phone in the Show Field, and enter Phone Number for the field label.
  6. Save your work.
    Customize subsidiaries node display on the Display tab.

Next, configure the Actions tab.

  1. Click the Actions tab.
    • In Object Actions, confirm New is selected. This gives users quick access to add new subsidiaries.
    • In Record Actions, for Action Label, enter Record Actions.
    • Confirm the Add Relation, Add Member, Edit, and Delete actions are shown. This gives users quick access to take the actions on a subsidiary.
    • In Junctions Actions, for Action Label, enter Related Record Actions.
    • Confirm that the Edit and Delete actions are shown.
  2. Save your work.
    Customize subsidiaries node actions on the Actions tab.

You just customized the display and action options for the Subsidiaries node.

Add an Employees Node to the Subsidiaries Node

At Cumulus, users want to see the employees at each subsidiary. That means you must add an employees node to the subsidiaries node.

To start, click the + icon under the Subsidiaries node.

Then, complete the child node fields on the Properties tab.

  1. Select Object, Person Account.
  2. Select Many-to-Many relationship type.
  3. For the Junction Object, select Account Contact Relationship.
  4. For the Parent Node Lookup Field, select Account. The lookup field is a field from this node object (Person Account) that points to the parent node object (Account).
  5. For Object Lookup Field, select Contact.
  6. For Sort By, select Last Modified Date Descending to determine the sort order of the records on the node.
  7. Save your work.

Next, click the Display tab, and add these details.

  1. For Label, enter Employees.
  2. Select Customize field labels.
  3. In Show Field, select Junction Object, then Roles. Note that Junction Object may be at the end of the list and not in alphabetical order.
  4. Enter Role in the Field Label text box.
  5. Select Email in Show Field.
  6. Enter Email in the Field Label text box.
  7. Select Title in Show Field.
  8. Enter Title in the Field Label text box.
  9. Save your work.

Finally, click the Actions tab and configure these options.

  1. In Object Actions, for Action, select New Relationship.
  2. In Record Actions, in the Action Label, enter Record Actions.
  3. For Actions, select Edit and Delete.
  4. In Junction Actions, for Action Label, enter Related Record Actions.
  5. For Actions, select Edit Relationship and Remove Relationship.
  6. Save your work.

That’s it! The subsidiaries node is customized to meet the needs of Cumulus’s bankers.

Add a Financial Account Child Node

Now customize the financial account node on the graph. Cumulus users want to view their clients’ financial account information. They want to see account type, account balance, primary owner, and household for each financial account. And they also want quick access to edit and create financial accounts.

Add and configure the financial account child node.

  1. Add child nodes to the relationship graph. Below the Account root node, click the + icon.
  2. Complete the child node fields on the Properties tab.
    • Select an Object, Financial Account (Custom Object).
    • Select One-to-Many relationship type.
    • For the Parent Node Lookup Field, select Primary Owner. The lookup field is a field from this node object (Financial Account) that points to the parent node object (Account).
    • For Sort By, select Last Modified Date Descending to determine the sort order of the records on the node.
  3. Save your work.
    Customize financial account node properties includes Financial Accounts node and the Properties tab.

Now customize the display tab to show users relevant fields.

  1. Click the Display tab, and add these details:
    • For Label, enter Financial Accounts.
    • Select Customize field labels.
    • Select Balance in Show Field.
    • Enter Account Balance for the field label.
    • Select Record Type in Show Field.
    • Enter Account Type for the field label.
    • For the next field, select Primary Owner and Account Name,
    • and use Owner for the label.
    • For the last field, select Household and Account Name, and enter Related Household for the label.
  2. Save your work.
    Customize financial account node display on the Display tab.

Finally, customize the actions tab to show the fields requested by users.

  1. Click the Actions tab.
  2. Under Object Actions, for Action, select New.
  3. Under Record Actions, for Action Label, enter Record Actions.
  4. Add two actions as New Opportunity and Edit.
  5. Save your work.

Cumulus users can now quickly review their client’s financial account information.

Add Other Child Nodes Based on the Plan

Similarly, follow the same steps to customize the employees and opportunities nodes included with the B2B template.

ARC graph showing ARC graph nodes.

Then add and customize the financial accounts and assets and liabilities nodes.When you’re finished, the ARC graph contains all the information most relevant to Cumulus users.

What’s Next?

In this unit, you learned how to update the fields and labels on the ARC graph’s existing nodes and customize a new child node. Bankers at Cumulus can now quickly determine their clients’ financial needs.

Or, they could, at least, if they could view the graph. In the next unit, learn how to add a graph to a record page so users can access it.

Resources

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback