", "answerCount": 5, "upvoteCount": 0, "datePublished": "2019-04-15T17:21:44.000Z", "author": { "@type": "Person", "name": "Bo Montier", "url": "https://trailblazers.salesforce.com/profileView?u=0053A00000EedULQAZ", "affiliation": { "@type": "Organization", "name": "--" } }, "suggestedAnswer": [ { "@type": "Answer", "text": "Hey, same issue for me. Additionally I am getting wrong display of the dialogue box of embedded chat, as below:", "upvoteCount": 0, "url": "https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T4PE6SAN", "datePublished": "2020-01-13T11:14:24.000Z", "author": { "@type": "Person", "name": "Dominik Sokolek", "url": "https://trailblazers.salesforce.com/profileView?u=0053A00000EJW8OQAX", "affiliation": { "@type": "Organization", "name": "Cloudity Sp. z o.o." } } } ] } }
Skip to main content
Bo Montier 님이 #Trailhead에 질문했습니다

I am on the Test Web Chat section of the Add Your Branding to Snap-In and cannot get the chat to work. It shows whether I am online or offline, but when I click "Chat with an Expert" it goes to Loading and then nothing.

I've made sure Visualforce.com is whitelisted. I've recreated the process several times, but this is where I get stuck every time.

Add Your Branding to Snap-Ins Chat - Button shows but does not start chatUser-added imageUser-added image

Here is my Code: 

<apex:page standardStylesheets="false" sidebar="false" showHeader="false"> <style type='text/css'> .embeddedServiceHelpButton .helpButton .uiButton { background-color: ⌗565656; font-family: "Salesforce Sans", sans-serif; } .embeddedServiceHelpButton .helpButton .uiButton:focus { outline: 1px solid ⌗565656; } @font-face { font-family: 'Salesforce Sans'; src: url('https://www.sfdcstatic.com/system/shared/common/assets/fonts/SalesforceSans/SalesforceSans-Regular.woff') format('woff'), url('https://www.sfdcstatic.com/system/shared/common/assets/fonts/SalesforceSans/SalesforceSans-Regular.ttf') format('truetype'); } </style> <script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.min.js'></script> <script type='text/javascript'> var initESW = function(gslbBaseURL) { embedded_svc.settings.displayHelpButton = true; //Or false embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US' //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 Live Agent //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://playful-panda-wge3na-dev-ed.my.salesforce.com', 'https://abchat-developer-edition.na91.force.com/liveAgentSetupFlow', gslbBaseURL, '00D2E000000mVht', 'Chat_Agents', { baseLiveAgentContentURL: 'https://c.la1-c2-ia2.salesforceliveagent.com/content', deploymentId: '5722E0000004d22', buttonId: '5732E0000004dXK', baseLiveAgentURL: 'https://d.la1-c2-ia2.salesforceliveagent.com/chat', eswLiveAgentDevName: 'Chat_Agents', isOfflineSupportEnabled: false } ); }; if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://playful-panda-wge3na-dev-ed.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> </apex:page>

답변 5개
  1. 2020년 1월 13일 오전 11:14
    Hey, same issue for me. Additionally I am getting wrong display of the dialogue box of embedded chat, as below:

    Hey, same issue for me.
0/9000