Skip to content

Commit 144d00c

Browse files
Create ngc.html
1 parent 5639392 commit 144d00c

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

256/W-17973774/ngc.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<html>
2+
<head>
3+
<title>NGC</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
5+
</head>
6+
<style>
7+
body {
8+
background: url("https://esw1234.github.io/ElectraHome.png") no-repeat;
9+
background-size: contain;
10+
background-position: center;
11+
background-repeat: no-repeat;
12+
}
13+
</style>
14+
<body>
15+
<script type='text/javascript'>
16+
function initAgentforceMessaging() {
17+
try {
18+
agentforce_messaging.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
19+
20+
agentforce_messaging.init(
21+
'00DSB0000005YCL',
22+
'tiffany',
23+
'https://main.my.site-com.tiffany-tso-a38qv3ncoth31.wc.crm.dev:6101/ESWNGC1742523839660',
24+
{
25+
// scrt2URL: 'http://w-17729485.my.salesforce-scrt-com.tiffany-tso-74z6eoce18yf0.wc.crm.dev'
26+
scrt2URL: 'https://esw-sdb3-blitz.test1.my.pc-rnd.salesforce-scrt.com'
27+
}
28+
);
29+
} catch (err) {
30+
console.error('Error loading Next Gen Chat: ', err);
31+
}
32+
};
33+
34+
35+
</script>
36+
<script type='text/javascript' src='https://main.my.site-com.tiffany-tso-a38qv3ncoth31.wc.crm.dev:6101/ESWNGC1742523839660/assets/js/init.js' onload='initAgentforceMessaging()'></script>
37+
</body>
38+
</html>

0 commit comments

Comments
 (0)