Relate Records Based on Matching Field Values

Share

Free Salesforce business guides to help admins/developers, project managers, sales managers, and decision makers. Download the free PDF series now: Reinventing Your Business, Reimagining Your Salesforce®.

Problem: When data is being loaded into Salesforce from an external database, it's difficult to maintain the relationships that existed previously.

With Lookup Helper, you no longer have to spend hours updating lookup fields, or have to hire a developer to write custom code that will maintain the relationships.

Solution: Following is a solution that can help you achieve this.

1. Create two fields on the child record.

    • The first field will hold the ID of its parent record.
    • The second field will be a lookup field relating to the parent object.
  1. Create field on the parent record that will hold its old ID (used in the external database).
  2. Create a new Lookup Helper setting.
    1. Select the child object.
    2. Select the 'Maintain existing lookup field' option then select the lookup field to populate (second field created in step 1).
    3. Select the 'Relate child object when the value in a field matches the value in a field on the parent object' Lookup Helper setting type.
    4. Select the first field created in step 1 for the child object.
    5. Select the field created in step 2 for the parent object.
    6. Save and run the setting.

Lookup Helper Use Case Library

Top Use Case: View Account Information on a Lead Lookup Helper Use Case Library Set Up Lookup Fields to Trigger Emails in Salesforce