Skip to content

Commit 73ff082

Browse files
authored
Create Jan23GovESW.html
1 parent 49dd452 commit 73ff082

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

venkatesh/gov/Jan23GovESW.html

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<br><br>
5+
<title>ESW Gov Cloud Jan 23 ESW CHAT</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
7+
</head>
8+
9+
<body>
10+
<p>
11+
<a id="editThisPageLink" target="_blank" style="color:red">Edit this page</a>
12+
</p>
13+
14+
<script>
15+
document.getElementById('editThisPageLink').href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window.location.pathname;
16+
</script>
17+
<br>
18+
<h2 align="center"><font color ="green">Gov Cloud Jan 23 ESWCHAT </font></h2>
19+
20+
<br/>
21+
22+
<!-- 5.0 snippet -->
23+
<style type='text/css'>
24+
.embeddedServiceHelpButton .helpButton .uiButton {
25+
background-color: #005290;
26+
font-family: "Arial", sans-serif;
27+
}
28+
.embeddedServiceHelpButton .helpButton .uiButton:focus {
29+
outline: 1px solid #005290;
30+
}
31+
</style>
32+
33+
<script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.min.js'></script>
34+
<script type='text/javascript'>
35+
var initESW = function(gslbBaseURL) {
36+
embedded_svc.settings.displayHelpButton = true; //Or false
37+
embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'
38+
39+
//embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert)
40+
//embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline)
41+
42+
//embedded_svc.settings.loadingText = ''; //(Defaults to Loading)
43+
//embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)
44+
45+
// Settings for Chat
46+
//embedded_svc.settings.directToButtonRouting = function(prechatFormData) {
47+
// Dynamically changes the button ID based on what the visitor enters in the pre-chat form.
48+
// Returns a valid button ID.
49+
//};
50+
//embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields
51+
//embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId
52+
//embedded_svc.settings.offlineSupportMinimizedText = '...'; //(Defaults to Contact Us)
53+
54+
embedded_svc.settings.enabledFeatures = ['LiveAgent'];
55+
embedded_svc.settings.entryFeature = 'LiveAgent';
56+
57+
embedded_svc.init(
58+
'https://scrtgcpusa9014.my.salesforce.com',
59+
'https://scrtgcpusa9014.my.site.com/ESWChatPage',
60+
gslbBaseURL,
61+
'00Dcs0000052oM1',
62+
'ESWChatDep1',
63+
{
64+
baseLiveAgentContentURL: 'https://c.la11-core2.sfdc-pu91w7.salesforceliveagent.com/content',
65+
deploymentId: '572cs000000AYhx',
66+
buttonId: '573cs0000001pq5',
67+
baseLiveAgentURL: 'https://d.la11-core2.sfdc-pu91w7.salesforceliveagent.com/chat',
68+
eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04Ics000000920zEAA_194933f08a3',
69+
isOfflineSupportEnabled: true
70+
}
71+
);
72+
};
73+
74+
if (!window.embedded_svc) {
75+
var s = document.createElement('script');
76+
s.setAttribute('src', 'https://scrtgcpusa9014.my.salesforce.com/embeddedservice/5.0/esw.min.js');
77+
s.onload = function() {
78+
initESW(null);
79+
};
80+
document.body.appendChild(s);
81+
} else {
82+
initESW('https://service.force.com');
83+
}
84+
</script>
85+
86+
</body>
87+
</html>

0 commit comments

Comments
 (0)