function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Zlatan SadibasicZlatan Sadibasic 

OmniChannel Status Sync Integration

Is use of the Lightning Console APIs while not in the context of a Lightning component a supported behavior? We've got an OpenCTI application that works fine in Classic mode and calls into some of the Console APIs, but the Lightning Console API seems to require having a component-injected callback in order to get the particular API. For example, to get the Omni Channel API, there's a required cmp.find("omniToolkit") portion. Is there any other way to get access to these APIs from our OpenCTI application while in the Lightning Console? We've attempted to make calls to the API in the Classic syntax, sforce.console.presence.getServicePresenceStatusId() as an example, but run into the errors I mentioned in my last post about a missing "registerFunction" function.