Salesforce Console APIs

We made enhancements to the Salesforce Console Integration Toolkit and to the Salesforce Lightning Console JavaScript APIs. Many of the Salesforce Classic methods used in existing Visualforce pages and third-party web tabs now work in Lightning Experience. Visualforce pages can detect whether they’re loaded in the UI theme for Lightning apps with console navigation versus the UI theme for Lightning apps with standard navigation. Lightning console apps now support using web tabs with third-party domains so that users can access web applications or other websites from within the application. The Omni-Channel methods in the Lightning JavaScript APIs are generally available, and console events have been added. These changes are new to Lightning Experience.
Available in: Salesforce Classic
Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions

The following methods are new or have changed in API version 42.0.

API Name
openSubtab
Lightning console now supports using web tabs with third-party domains so that your users can access web applications or other websites from within the application. Third-party URLs are supported when you add the site as a CSP Trusted Site.
opentab
Lightning console now supports using web tabs with third-party domains so that your users can access web applications or other websites from within the application. Third-party URLs are supported when you add the site as a CSP Trusted Site.

Omni-Channel

The Omni-Channel methods are generally available. Also, the following events are available:
lightning:omniChannelLoginSuccess
Indicates that an agent has logged in to Omni-Channel successfully.
lightning:omniChannelStatusChanged
Indicates that an agent has changed his or her presence status in Omni-Channel.
lightning:omniChannelLogout
Indicates that an agent has logged out of Salesforce.
lightning:omniChannelWorkAssigned
Indicates that an agent has been assigned a new work item.
lightning:omniChannelWorkAccepted
Indicates that an agent has accepted a work assignment, or that a work assignment has been automatically accepted.
lightning:omniChannelWorkDeclined
Indicates that an agent has declined a work assignment.
lightning:omniChannelWorkClosed
Indicates that an agent has closed a tab in the console that’s associated with a work item.
lightning:omniChannelWorkloadChanged
Indicates that an agent’s workload has changed. It also indicates that there has been a change to an agent’s capacity or presence configuration, or that the agent has gone offline in the Omni-Channel utility.