Skip to content

Commit ea090ff

Browse files
Create CWC_v2.html
1 parent 8b60e4b commit ea090ff

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<html>
2+
<head>
3+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
4+
<title>CWC</title>
5+
</head>
6+
<body>
7+
<script type='text/javascript'>
8+
function initAgentforceMessaging() {
9+
try {
10+
agentforce_messaging.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
11+
12+
agentforce_messaging.init(
13+
'00Dxx00qnzV95CO',
14+
'CWC_v2',
15+
'https://orgfarm-eaf0c9eb1c.my.site-com.yv43g3w2ybob19da7zcz8.wc.crm.dev:6101/ESWCWCv21754523609157',
16+
{
17+
scrt2URL: 'http://orgfarm-eaf0c9eb1c.my.salesforce-scrt-com.yv43g3w2ybob19da7zcz8.wc.crm.dev'
18+
}
19+
);
20+
} catch (err) {
21+
console.error('Error loading Embedded Messaging: ', err);
22+
}
23+
};
24+
</script>
25+
<script type='text/javascript' src='https://orgfarm-eaf0c9eb1c.my.site-com.yv43g3w2ybob19da7zcz8.wc.crm.dev:6101/ESWCWCv21754523609157/assets/js/init.js' onload='initAgentforceMessaging()'></script>
26+
</body>
27+
</html>

0 commit comments

Comments
 (0)