DTN Exchange: Basics

NOTE: (3:15 in video) For User Roles - Roles that are currently assigned to you are located on the right. If this list is not accurate, please contact Customer Support.

Play video icon

Buying on the Exchange

Play video icon
.embeddedServiceHelpButton .helpButton .uiButton { background-color: #68c949 !important; font-family: "Arial", sans-serif; } .embeddedServiceHelpButton .helpButton .uiButton:focus { /* outline: 1px solid #008ed1; */ } h2[embeddedservice-chatheader_chatheader] { color:#ffffff; } var initESW = function(gslbBaseURL) { //Docmation Script embedded_svc.settings.extraPrechatInfo = [ {"entityFieldMaps": [ {"doCreate":false,"doFind":true,"fieldName":"LastName","isExactMatch":true,"label":"Last Name"}, {"doCreate":false,"doFind":true,"fieldName":"FirstName","isExactMatch":true,"label":"First Name"}, {"doCreate":false,"doFind":true,"fieldName":"Email","isExactMatch":true,"label":"Email"} ], "entityName":"Contact", "saveToTranscript":"Contact", "showOnCreate":true } ]; embedded_svc.settings.extraPrechatFormDetails = [ { "label":"First Name", "transcriptFields":[ "FirstName__c" ] }, { "label":"Last Name", "transcriptFields":[ "LastName__c" ] }, { "label":"Email", "transcriptFields":[ "Email__c" ] } ]; //End Docmation Script embedded_svc.settings.displayHelpButton = true; //Or false embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US' embedded_svc.settings.defaultMinimizedText = 'Chat with DTN'; //(Defaults to Chat with an Expert) embedded_svc.settings.avatarImgURL = 'https://www.dtn.com/wp-content/uploads/2019/09/dtn-chat-agent-40x40.png'; embedded_svc.settings.chatbotAvatarImgURL = 'https://www.dtn.com/wp-content/uploads/2019/09/dtn-chat-bot-40x40.png'; embedded_svc.settings.smallCompanyLogoImgURL = 'https://www.dtn.com/wp-content/uploads/2019/09/dtn-logo-16x16-c.png'; // embedded_svc.settings.BackgroundImgURL = "https://www.dtn.com/wp-content/uploads/2019/09/chat-header-background.png"; embedded_svc.settings.prechatBackgroundImgURL = "https://www.dtn.com/wp-content/uploads/2019/09/pre-chat-background-420x100.png"; embedded_svc.settings.waitingStateBackgroundImgURL = "https://www.dtn.com/wp-content/uploads/2019/09/chat-waiting-state.png" embedded_svc.settings.widgetWidth = "420px"; embedded_svc.settings.widgetHeight = "85%"; //embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert) //embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline) //embedded_svc.settings.loadingText = ''; //(Defaults to Loading) //embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session) // Settings for Chat //embedded_svc.settings.directToButtonRouting = function(prechatFormData) { // Dynamically changes the button ID based on what the visitor enters in the pre-chat form. // Returns a valid button ID. //}; //embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields //embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId //embedded_svc.settings.offlineSupportMinimizedText = '...'; //(Defaults to Contact Us) embedded_svc.settings.enabledFeatures = ['LiveAgent']; embedded_svc.settings.entryFeature = 'LiveAgent'; embedded_svc.init( 'https://dtn.my.salesforce.com', 'https://dtn.my.salesforce-sites.com/', gslbBaseURL, '00D1N000002J3YS', 'FuelSuite_Bot', { baseLiveAgentContentURL: 'https://c.la4-c4-ph2.salesforceliveagent.com/content', deploymentId: '5723m000000bpLv', buttonId: '5733m000000TeFM', baseLiveAgentURL: 'https://d.la4-c4-ph2.salesforceliveagent.com/chat', eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I7j000000GmeGEAS_177df6b50ce', isOfflineSupportEnabled: false } ); }; if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://dtn.my.salesforce.com/embeddedservice/5.0/esw.min.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s); } else { initESW('https://service.force.com'); }