Custom Dynamic Highlight Panel in Salesforce Lightning

Bypassing Salesforce Governor Limits Using Generic LWC and Field Set

Nickson Joram
5 min readSep 2, 2022

A new Highlights Panel in Salesforce Lightning makes it simple to display critical information at the top of the page. Each page’s highlights panel can be modified to add up to six fields. These fields will contain information that will enable the user to quickly find or “know” the details.

Image by Author: Highlight Panel

You can create a formula field to combine multiple (for example, Height + Weight+ Age) to provide extra information to the panel. Standard and custom fields can be presented here.

The fields your users view in the highlights panel at the top of a record are controlled by compact layouts. The Compact layout is used to render the fields in the Highlight panel.

Image by Author: Compact Layout of Account Object

Every primary tab in a console in Salesforce Classic has a highlights panel at the top that can be customized and has a table with up to four columns. It enables console users to quickly and easily see important data. Edit any page layout to set up a highlights panel.

--

--