Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Get Hands-on with Related Object Fields on Dynamic Forms

Learning Objectives

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

  • Work with related object fields on dynamic forms-enabled pages.
  • Maintain Your Administrator Certification for Spring ’24.

Drill into lookup relationship fields from the component palette in the Lightning App Builder and access fields from related objects. To display relevant data from related objects, drag the cross-object fields onto your record page.

Where: This change applies to Lightning Experience in Group, Professional, Enterprise, Performance, Unlimited, and Developer editions.

How: We made some small enhancements to the Lightning App Builder UI to help you navigate through relationship fields.

On the Fields tab, a breadcrumb at the top shows the spans that you drilled into. The top-level breadcrumb indicates the object that the page is associated with.

Fields palette with Contact top-level breadcrumb.

Cross-object relationship fields have an arrow icon (>). You can drag them onto the page as is, or click the arrow icon to drill in further.

Fields palette with Contact to Account Name breadcrumb.

When you select a cross-object field on the canvas, a new Object property shows the relationship of the field to the base object associated with the Lightning page.

You can drill down two levels.

Polymorphic relationship fields—where the related object can be one of several different types of objects—aren’t supported as cross-object fields in Lightning App Builder.

Get Ready for the Hands-on Challenge

In the hands-on challenge below, you have an opportunity to enhance more object record pages with dynamic forms.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈