Skip to content

Commit 00439a3

Browse files
authored
Update la1.html
1 parent 9873ab0 commit 00439a3

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

npachpande/la/sdb3/la1.html

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<body>
77
<h1>Disable Enhanced Omni-Channel Routing for agent availability</h1>
88

9+
910
<style type='text/css'>
1011
.embeddedServiceHelpButton .helpButton .uiButton {
1112
background-color: #88DA15;
@@ -16,25 +17,33 @@ <h1>Disable Enhanced Omni-Channel Routing for agent availability</h1>
1617
}
1718
</style>
1819

19-
<!-- <script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.js'></script> -->
20+
<!-- <script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.min.js'></script> -->
2021
<script type='text/javascript'>
21-
22-
2322
var initESW = function(gslbBaseURL) {
2423
embedded_svc.settings.displayHelpButton = true; //Or false
25-
embedded_svc.settings.language = 'en'; //For example, enter 'en' or 'en-US'
26-
embedded_svc.settings.devMode = true;
24+
embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'
25+
26+
//embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert)
27+
//embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline)
28+
29+
//embedded_svc.settings.loadingText = ''; //(Defaults to Loading)
30+
//embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)
31+
32+
// Settings for Chat
33+
//embedded_svc.settings.directToButtonRouting = function(prechatFormData) {
34+
// Dynamically changes the button ID based on what the visitor enters in the pre-chat form.
35+
// Returns a valid button ID.
36+
//};
37+
//embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields
38+
//embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId
39+
//embedded_svc.settings.offlineSupportMinimizedText = '...'; //(Defaults to Contact Us)
2740

2841
embedded_svc.settings.enabledFeatures = ['LiveAgent'];
2942
embedded_svc.settings.entryFeature = 'LiveAgent';
3043

31-
embedded_svc.addEventHandler("onClickSubmitButton", function(data) {
32-
console.log("onClickSubmitButton event was fired.");
33-
});
34-
3544
embedded_svc.init(
36-
'https://eswmessaging.demo.test1.my.pc-rnd.salesforce.com',
37-
'https://eswmessaging.demo.test1.my.pc-rnd.site.com/chatcommunity',
45+
'https://eswmessaging.test1.my.pc-rnd.salesforce.com',
46+
'https://eswmessaging.test1.my.pc-rnd.site.com/chatcommunity',
3847
gslbBaseURL,
3948
'00DSB0000016Oez',
4049
'Chat',
@@ -44,14 +53,14 @@ <h1>Disable Enhanced Omni-Channel Routing for agent availability</h1>
4453
buttonId: '573SB000000Ak00',
4554
baseLiveAgentURL: 'https://d.la13-test1-uswest2-core4.pc-aws.salesforceliveagent.com/chat',
4655
eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04Ixx0000004C92EAE_1743cd61ebc',
47-
isOfflineSupportEnabled: true
56+
isOfflineSupportEnabled: false
4857
}
4958
);
5059
};
5160

5261
if (!window.embedded_svc) {
5362
var s = document.createElement('script');
54-
s.setAttribute('src', 'https://eswmessaging.demo.test1.my.pc-rnd.salesforce.com/embeddedservice/5.0/esw.js');
63+
s.setAttribute('src', 'https://eswmessaging.test1.my.pc-rnd.salesforce.com/embeddedservice/5.0/esw.min.js');
5564
s.onload = function() {
5665
initESW(null);
5766
};
@@ -60,6 +69,7 @@ <h1>Disable Enhanced Omni-Channel Routing for agent availability</h1>
6069
initESW('https://service.force.com');
6170
}
6271
</script>
72+
6373

6474

6575
</body>

0 commit comments

Comments
 (0)