Difference between revisions of "Test LiveChat"

(SnapIn Test)
Line 36: Line 36:
 
embedded_svc.settings.entryFeature = 'LiveAgent';
 
embedded_svc.settings.entryFeature = 'LiveAgent';
  
embedded_svc.init('https://dahuatech--NA3.my.salesforce.com', 'https://na3-dahuapartner.cs72.force.com/', 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>
+
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>

Revision as of 16:56, 6 September 2018

Sandbox Livechat

SnapIn Test