Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.
Tempo stimato

Create an External Lookup Relationship

Add an External Lookup Field

An external lookup relationship is another new field type introduced with Salesforce Connect. This type links an object to an external object. In this task, you link an external object to another external object! You link Order Detail to Order based on the Order ID field in both objects, resulting in a new related list on the Order page.

  1. From Setup, type External Objects into the Quick Find text box. Select External Objects and select OrderDetail.
  2. Next to the orderID field in Custom Fields & Relationships, click Edit and then click Change Field Type.
  3. Select External Lookup Relationship as the data type, and click Next.
  4. For the Related To value, select Order and then click Next.
  5. Enter 18 as the field length. Leave the other options with their defaults. Click Next.
  6. To make the field visible to all profiles, select the checkbox next to Visible and click Next.
  7. Leave all the checkboxes in their default state and click Save. A new OrderDetails related list is added to the Order page layouts.
  8. Check your work! Navigate back to the account that you were looking at before. Click an order number to view a new related list below the order data.Screenshot of the Orders Detail page for the 1025 order
  9. Click an External ID to see the line item's data.

Summary

Congratulations! In just a few minutes time, you integrated external data by configuring an external data source in Salesforce, linked external objects with standard Salesforce account data, and brought it all together in the Salesforce user interface, all without writing a single line of code! Now that's data integration, lightning fast!

Condividi il tuo feedback su Trailhead dalla Guida di Salesforce.

Conoscere la tua esperienza su Trailhead è importante per noi. Ora puoi accedere al modulo per l'invio di feedback in qualsiasi momento dal sito della Guida di Salesforce.

Scopri di più Continua a condividere il tuo feedback