File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 77
88< h1 > In APP Web Client for Org: "bt20250106"</ h1 >
99< p > < a id ="editThisPageLink " target ="_blank " style ="color:blue "> Edit this page</ a > </ p >
10- < script > document . getElementById ( 'editThisPageLink' ) . href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window . location . pathname ; </ script >
1110< script type ='text/javascript '>
1211 function initEmbeddedMessaging ( ) {
1312 try {
1413 embeddedservice_bootstrap . settings . language = 'en_US' ; // For example, enter 'en' or 'en-US'
15-
14+ window . addEventListener ( "onEmbeddedMessagingReady" , ( ) => {
15+ embeddedservice_bootstrap . prechatAPI . setHiddenPrechatFields ( {
16+ "Language" : "Hindi"
17+ } ) ;
18+ } ) ;
1619 embeddedservice_bootstrap . init (
17- '00DSG00000Xmjr3 ' ,
18- 'MIAW ' ,
19- 'https://orgfarm-8db02719f8 .test1.my.pc-rnd.site.com/ESWMIAW1757950925479 ' ,
20+ '00DSG00000aBjhp ' ,
21+ 'MIAW_With_Prechat ' ,
22+ 'https://orgfarm-89cf0137bd .test1.my.pc-rnd.site.com/ESWMIAWWithPrechat1762857192390 ' ,
2023 {
21- scrt2URL : 'https://orgfarm-8db02719f8 .test1.my.pc-rnd.salesforce-scrt.com'
24+ scrt2URL : 'https://orgfarm-89cf0137bd .test1.my.pc-rnd.salesforce-scrt.com'
2225 }
2326 ) ;
2427 } catch ( err ) {
2528 console . error ( 'Error loading Embedded Messaging: ' , err ) ;
2629 }
2730 } ;
2831</ script >
29- < script type ='text/javascript ' src ='https://orgfarm-8db02719f8 .test1.my.pc-rnd.site.com/ESWMIAW1757950925479 /assets/js/bootstrap.min.js ' onload ='initEmbeddedMessaging() '> </ 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 >
3033</ body >
3134</ html >
3235
You can’t perform that action at this time.
0 commit comments