Dynamic Header

Dynamic Header on Account Record Page

This example illustrates how to build a header that adapts to the current Account record on a Salesforce Record Page. Binding properties to record fields makes the header dynamic and relevant to the viewed record.

Configure Properties

  • Set the Target Page Object to Account: In your Dynamic Component's settings (e.g., in the canvas or main properties), select "Account" as the Target Page Object. Why do this? This tells the component it's placed on an Account Record Page, enabling access to the current record's data via bindings like $Component.record.FieldName. Without it, dynamic record bindings won't work, and the header would remain static.

  • Caption: "Account"

  • Title: $Component.record.Name (mapped to the current Account's Name field)

  • Subtitle: $Component.record.Industry (mapped to the current Account's Industry field)

  • Icon Name: standard:account

  • Background Image: (None)

  • Is Joined: On

Result

Header updates per record (e.g., Title shows "Acme Corp"), with dynamic Subtitle.

Last updated

Was this helpful?