Skip to content

Tag: Lightning Console

Salesforce Lightning Console JavaScript API

The Lightning Console JavaScript API and the Salesforce Console Integration Toolkit both interact with Salesforce console apps. We will use these API’s to check status of Omni-Channel Utility bar item. Example Lightning Component is used to check Omni-Channel Utility once agent has accepted the work. lightning:utilityBarAPI: The public API for the Utility Bar. lightning:omniToolkitAPI: This component provides access to the API for the Omni-channel toolkit. lightning:backgroundUtilityItem: This interface is used to indicate that the component is available to be instantiated at the app level without rendering any UI. Salesforce Console Developer Guide Omni-Channel Developer Guide Utility Bar API Omni Channel Work Accepted Background Utility Item Response object that is returned by utilityBarAPI.getAllUtilityInfo(). We can use and modify various attributes of utility bar item using this approach