Cert++
Close

Dynamic Forms versus Record Detail

Key Takeaway

To show or hide individual fields based on another field's value, the page must use Dynamic Forms visibility rules. A Record Detail component can't do it, because it shows the page layout's fields as one fixed block.

A Lightning record page shows record fields in one of two ways. The Record Detail component shows the fields from the object's page layout as one fixed block. Dynamic Forms turns each field and field section into its own component that you place and control in Lightning App Builder. Knowing which one a page uses tells you which tool edits the fields and what you can do with them.

Record Detail versus Dynamic Forms

In Salesforce Classic, you customize record pages with the page layout editor, because Lightning App Builder customizes only Lightning record pages. In Lightning Experience, the deciding question is how the page delivers its fields: through a Record Detail component or through Dynamic Forms.

Record Detail componentDynamic Forms
Where the fields come fromThe object's page layout, in one big blockField and Field Section components on the Lightning App Builder canvas
Where you add, remove, or move fieldsThe page layout editorLightning App Builder
What you assignBoth a Lightning page and a page layout (dual model)The Lightning page (single assignment model)

A page that uses a Record Detail component still opens in Lightning App Builder. Even so, you must use the page layout editor to add, remove, or move the fields inside the component.

Platform Administrator II Study Guide

Checklist progress

0/290Learned

Given a scenario, determine the appropriate solution to enhance or extend the UI/UX with applications (App Manager, Lightning App Builder, Dynamic Forms, standard Lightning page components, Console, and Lightning page analyze button)

0/17

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform Administrator II studiers.