-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsampleWebChat.html
More file actions
37 lines (33 loc) · 1.34 KB
/
sampleWebChat.html
File metadata and controls
37 lines (33 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<title>SDB6-InAppChat</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
</head>
<body>
<h1> SDB6 InApp Messaging Chat</h1>
<h2 style="color:blue;"> For Agent: test1@deevoblitz.demo</h2>
NO LWR
<p><a id="editThisPageLink" target="_blank" style="color:blue">Edit this page</a></p>
<script>document.getElementById('editThisPageLink').href = "https://github.com/nasalesforcegithub/nasalesforcegithub.github.io/blob/main/sampleWebChat.html" + window.location.pathname;</script>
<!-- <script type='text/javascript' src='https://service.force.com/asyncclient/bootstrap.js'></script> -->
<script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = ''; // For example, enter 'en' or 'en-US'
embeddedservice_bootstrap.settings.debugMode = true;
embeddedservice_bootstrap.init(
'00DSG0000002yOH',
'Web_Chat_2',
'https://deevo.test1.my.pc-rnd.salesforce.com',
{
scrt2URL: 'https://deevo.test1.my.pc-rnd.salesforce-scrt.com'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://deevo.test1.lightning.pc-rnd.force.com/embeddedservice/asyncclient/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
</body>
</html>