1-877-548-3001 Sign in About Contact
Developer

SDK General Functions

Open the embedded window using a text link or custom element/graphic:

lhnJsSdk.openHOC(); // Will open to first tab or last active tab
lhnJsSdk.openHOC('c'); // Will open to the chat window tab
lhnJsSdk.openHOC('t'); // Will open to the ticket form tab
lhnJsSdk.openHOC('kb'); // Will open to the knowledge lookup tab
lhnJsSdk.openHOC('kb', {search_term: "some text"}); // Will open to the knowledge lookup
         tab and search the passed term
lhnJsSdk.openHOC('cb'); // Will open to the callback form tab