Difference between revisions of "Test LiveChat"

(SnapIn Test)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==LiveChat Sandbox Test==
+
===Sandbox Livechat===
<html><apex:page >
+
<html><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"></html>
  <h1>Let’s start chatting...</h1>
+
 
  <br />
 
  Click the big button to start a chat.
 
  <br />
 
  <!--Button Code-->
 
  <img id="liveagent_button_online_5735D0000008OON" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5735D0000008OON')" src="https://na2-dahuasecurity.cs72.force.com/LiveChat/resource/1530212675000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5735D0000008OON" style="display: none; border: 0px none; " src="https://na2-dahuasecurity.cs72.force.com/LiveChat/resource/1530212694000/LiveChatOffline" />
 
<script type="text/javascript">
 
if (!window._laq) { window._laq = []; }
 
window._laq.push(function(){liveagent.showWhenOnline('5735D0000008OON', document.getElementById('liveagent_button_online_5735D0000008OON'));
 
liveagent.showWhenOffline('5735D0000008OON', document.getElementById('liveagent_button_offline_5735D0000008OON'));
 
});</script>
 
  <!--Deployment Code-->
 
  <script type='text/javascript' src='https://c.la1-c1cs-ukb.salesforceliveagent.com/content/g/js/43.0/deployment.js'></script>
 
<script type='text/javascript'>
 
liveagent.init('https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', '5725D0000008OOI', '00D5D0000008lNR');
 
</script>
 
</apex:page></html>
 
 
==SnapIn Test==
 
==SnapIn Test==
 
<html><style type='text/css'>
 
<html><style type='text/css'>
Line 53: Line 37:
 
embedded_svc.settings.entryFeature = 'LiveAgent';
 
embedded_svc.settings.entryFeature = 'LiveAgent';
  
embedded_svc.init('https://cs72.salesforce.com', 'https://na2-dahuasecurity.cs72.force.com/LiveChat', 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: true}); };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://dahuatech--NA3.my.salesforce.com', 'https://na3-dahuasecurity.cs72.force.com/LiveChat', gslbBaseURL, '00D5D0000008t3B', 'DNA_LiveChat', { baseLiveAgentContentURL: 'https://c.la1-c1cs-hnd.salesforceliveagent.com/content', deploymentId: '5720K000000L4V7', buttonId: '5730K0000004Hue', baseLiveAgentURL: 'https://d.la1-c1cs-hnd.salesforceliveagent.com/chat', eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I0K000000GmfTUAS_164f54a6ca3', isOfflineSupportEnabled: false}); };if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://dahuatech--NA3.my.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>

Latest revision as of 17:37, 6 September 2018

Sandbox Livechat

SnapIn Test