Using Background Utility Items
Supported APIs
Using Events with the Lightning Console JavaScript API
Use Page Context in the Utility Bar API
Using Page References to Open Console Workspace Tabs and Subtabs
Debugging
Previous Versions
A list of methods and events that support utility pop-out.
Custom events aren’t supported while a utility is popped out. If custom events are critical to your utility’s functionality, we recommend disabling pop-out for your utility.
Note
Lightning Web Components (LWC) doesn’t currently support working with background utility items.
Lightning Console JavaScript API Methods for Navigation Items
Lightning Console JavaScript API Methods for Workspace Tabs and Subtabs
Lightning Console JavaScript API Methods for the Utility Bar
Lightning Console JavaScript API Events
| Events | Supports Pop-Out | Notes |
|---|---|---|
| lightning:tabClosed | ![]() | |
| lightning:tabCreated | ![]() | |
| lightning:tabFocused | ![]() | |
| lightning:tabRefreshed | ![]() | |
| lightning:tabReplaced | ![]() | |
| lightning:tabUpdated | ![]() |
Salesforce Classic Console API Methods for Primary Tabs and Subtabs
| Methods | Supports Pop-Out | Notes |
|---|---|---|
| isInConsole() | ![]() |
Salesforce Classic Console API Events
| Events | Supports Pop-Out | Notes |
|---|---|---|
| removeEventListener() | ![]() | |
| fireEvent() | ![]() | fireEvent() returns success true even when eventListeners for the given eventType are removed. |
| addEventListener() | ![]() |