• Zlatan Sadibasic
  • NEWBIE
  • 5 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
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.
How do I get Sfdc to appear on window object in javascript? What library to I pull in?
How do I get Sfdc to appear on window object in javascript? What library to I pull in?