File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments