Skip to content

Commit 9ab8324

Browse files
authored
Update test.html
1 parent 11f42fc commit 9ab8324

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Shital/SDB6/test.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,21 @@ <h1> In APP Web Client for Org: "bt20250106"</h1>
1111
function initEmbeddedMessaging() {
1212
try {
1313
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
14-
window.addEventListener("onEmbeddedMessagingReady", () => {
15-
embeddedservice_bootstrap.prechatAPI.setHiddenPrechatFields({
16-
"Language" : "Hindi"
17-
});
18-
});
14+
1915
embeddedservice_bootstrap.init(
20-
'00DSG00000aBjhp',
21-
'MIAW_With_Prechat',
22-
'https://orgfarm-89cf0137bd.test1.my.pc-rnd.site.com/ESWMIAWWithPrechat1762857192390',
16+
'00DSG00000KG28n',
17+
'Test_DN',
18+
'https://btsdb620250116.demo.test1.my.pc-rnd.site.com/ESWTestDN1762881630154',
2319
{
24-
scrt2URL: 'https://orgfarm-89cf0137bd.test1.my.pc-rnd.salesforce-scrt.com'
20+
scrt2URL: 'https://btsdb620250116.demo.test1.my.pc-rnd.salesforce-scrt.com'
2521
}
2622
);
2723
} catch (err) {
2824
console.error('Error loading Embedded Messaging: ', err);
2925
}
3026
};
3127
</script>
32-
<script type='text/javascript' src='https://orgfarm-89cf0137bd.test1.my.pc-rnd.site.com/ESWMIAWWithPrechat1762857192390/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
28+
<script type='text/javascript' src='https://btsdb620250116.demo.test1.my.pc-rnd.site.com/ESWTestDN1762881630154/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
3329
</body>
3430
</html>
3531

0 commit comments

Comments
 (0)