Invoking the hidden Chat Inlay
Summary
When trying to invoke the hidden Chat Inlay, the chat window will not openContent
Please look at the invokeChat() method and let us know what is wrong with it as it’s not opening the chat. What element should have the event dispatched to?
<script id="oit-loader" src="http://static-mw.custhelp.com/s/oit/latest/common/v0/libs/oit/loader.js" async></script>
<div style="border:1px solid red; height:50px;">
<h6>
<a href="javascript:invokeChat()">Click to Chat</a>
</h6>
<script>
function invokeChat() {
var event = new Event('inlay-oracle-chat-embedded-show');
var elem = document.getElementById("chatInlay");
elem.dispatchEvent(event);
0