Skip to content

Commit 2eaca38

Browse files
authored
Create unauth1.html
1 parent 9e05804 commit 2eaca38

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

npachpande/miaw/sdo/unauth1.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<html>
2+
<head>
3+
<title>sdbo unauth1.html</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
5+
</head>
6+
<body>
7+
8+
<h2>
9+
<a href="https://help.websnapins.com/npachpande/miaw/sdo/unauth1.html">Continue session on sub domain!</a>
10+
</h2>
11+
12+
<script type='text/javascript'>
13+
function initEmbeddedMessaging() {
14+
try {
15+
embeddedservice_bootstrap.settings.language = 'en'; // For example, enter 'en' or 'en-US'
16+
embeddedservice_bootstrap.settings.devMode = true;
17+
18+
embeddedservice_bootstrap.init(
19+
'00Dbn000001N2a1',
20+
'SDO_Messaging_for_Web',
21+
'https://sachinhanu-240403-636-demo.my.site.com/ESWSDOMessagingforWeb1712616595003',
22+
{
23+
scrt2URL: 'https://sachinhanu-240403-636-demo.my.salesforce-scrt.com'
24+
}
25+
);
26+
} catch (err) {
27+
console.error('Error loading Embedded Messaging: ', err);
28+
}
29+
};
30+
</script>
31+
<script type='text/javascript' src='https://sachinhanu-240403-636-demo.my.site.com/ESWSDOMessagingforWeb1712616595003/assets/js/bootstrap.js' onload='initEmbeddedMessaging()'></script>
32+
33+
</body>
34+
</html>

0 commit comments

Comments
 (0)