Newer Version Available

This content describes an older version of this product. View Latest

Get to Know the Utility Bar

The utility bar API includes a set of methods for working with utilities and the utility bar.

A utility is broadly defined as a single-column Lightning page. Salesforce provides you with several ready-to-use utilities, such as Recent Items, History, and Notes. You can also make your own, and customize the utility bar in Setup. From Setup, enter App Manager in the Quick Find box, then select App Manager. Either click New Lightning App to create an app, or click Edit next to an existing Lightning app to add a utility bar or edit the existing one.

The utility bar API has ten methods for working with the utility bar. These methods can be called only from the utility bar. To effectively use these methods, it helps to know your way around the utility bar.

The following utility bar includes three utilities: My Utility, Recent Items, and Chatter Feed. Recent Items is currently open. My Utility is a custom utility, and was highlighted using the setUtilityHighlighted() method.

A guided tour of the utility bar.
  1. The utility bar
  2. The Chatter Feed utility
  3. A utility label
  4. A utility icon
  5. The panel header
  6. The panel header label
  7. The panel header icon