Skip to content

Commit 1b21955

Browse files
Create CWC_v2.html
1 parent e167f12 commit 1b21955

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

260/00Dxx00zjnsL3MS/CWC_v2.html

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

0 commit comments

Comments
 (0)