Newer Version Available
Lightning Console JavaScript API for Lightning Experience
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, Performance,
Unlimited, and Developer Editions Lightning console apps are available for an extra cost to users with Salesforce Platform user licenses for certain products. Some restrictions apply. For pricing details, contact your Salesforce account executive. |
The Lightning Console JavaScript API includes two libraries, the utility bar API and the workspace API. The utility bar API provides methods that can be used from Lightning components in the utility bar to open, resize, or minimize a utility. The workspace API provides methods for opening, closing, and getting information about workspace tabs and subtabs. The utility bar API can be used in Lightning apps with standard navigation and Lightning console apps, while the workspace API can be used in Lightning console apps only.
For a full list of methods in each API, see the reference section of this guide.