Difference between revisions of "Test LiveChat"

(=Meta)
Line 1: Line 1:
 +
===Sandbox Livechat===
 +
<html><img id="liveagent_button_online_5730K0000004Hue" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5730K0000004Hue')" src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5730K0000004Hue" style="display: none; border: 0px none; " src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatOffline" />
 +
<script type="text/javascript">
 +
if (!window._laq) { window._laq = []; }
 +
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Hue', document.getElementById('liveagent_button_online_5730K0000004Hue'));
 +
liveagent.showWhenOffline('5730K0000004Hue', document.getElementById('liveagent_button_offline_5730K0000004Hue'));
 +
});</script>
 +
</html>
 
==LiveChat Sandbox Test==
 
==LiveChat Sandbox Test==
 
<html><apex:page >
 
<html><apex:page >
Line 55: Line 63:
  
 
embedded_svc.init('https://cs72.salesforce.com', 'https://na2-dahuapartner.cs72.force.com/', gslbBaseURL, '00D5D0000008lNR', 'DNA_LiveChat', { baseLiveAgentContentURL: 'https://c.la1-c1cs-ukb.salesforceliveagent.com/content', deploymentId: '5725D0000008OOI', buttonId: '5735D0000008OON', baseLiveAgentURL: 'https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I5D000000001EUAQ_1644c125987', isOfflineSupportEnabled: false}); };if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://cs72.salesforce.com/embeddedservice/5.0/esw.min.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s); } else { initESW('https://service.force.com'); }</script></html>
 
embedded_svc.init('https://cs72.salesforce.com', 'https://na2-dahuapartner.cs72.force.com/', gslbBaseURL, '00D5D0000008lNR', 'DNA_LiveChat', { baseLiveAgentContentURL: 'https://c.la1-c1cs-ukb.salesforceliveagent.com/content', deploymentId: '5725D0000008OOI', buttonId: '5735D0000008OON', baseLiveAgentURL: 'https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I5D000000001EUAQ_1644c125987', isOfflineSupportEnabled: false}); };if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://cs72.salesforce.com/embeddedservice/5.0/esw.min.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s); } else { initESW('https://service.force.com'); }</script></html>
 
 
===Sandbox Livechat===
 
<html><img id="liveagent_button_online_5730K0000004Hue" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5730K0000004Hue')" src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5730K0000004Hue" style="display: none; border: 0px none; " src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatOffline" />
 
<script type="text/javascript">
 
if (!window._laq) { window._laq = []; }
 
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Hue', document.getElementById('liveagent_button_online_5730K0000004Hue'));
 
liveagent.showWhenOffline('5730K0000004Hue', document.getElementById('liveagent_button_offline_5730K0000004Hue'));
 
});</script>
 
</html>
 

Revision as of 16:37, 27 August 2018

Sandbox Livechat

LiveChat Sandbox Test

Let’s start chatting...


Click the big button to start a chat.

SnapIn Test