File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 66< h1 > MIAW Chat SDB3 E2ETest using Bot</ h1 >
77 miawe2e@sdb3.ia240
88 < p > < a id ="editThisPageLink " target ="_blank " style ="color:blue "> Edit this page</ a > </ p >
9- < script > document . getElementById ( 'editThisPageLink' ) . href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window . location . pathname ; </ script >
10- < script type ='text/javascript '>
11- function initEmbeddedMessaging ( ) {
9+ < script type ='text/javascript '>
10+ function initEmbeddedMessaging ( ) {
1211 try {
13- embeddedservice_bootstrap . settings . language = 'en' ; // For example, enter 'en' or 'en-US'
14- window . addEventListener ( "onEmbeddedMessagingReady" , ( ) => {
15- embeddedservice_bootstrap . prechatAPI . setHiddenPrechatFields ( { "Browser" : "Browser Chrome 106" , "OS" : "Mac OS 1.2" } ) ; } ) ;
12+ embeddedservice_bootstrap . settings . language = 'en_US' ; // For example, enter 'en' or 'en-US'
13+
1614 embeddedservice_bootstrap . init (
1715 '00DSB0000003a8b' ,
1816 'e2eBotTest' ,
19- 'https://inapporg3.test1.my.pc-rnd.site.com/ESWe2eBotTest1686185155759' ,
17+ 'https://inapporg3.demo. test1.my.pc-rnd.site.com/ESWe2eBotTest1686185155759' ,
2018 {
21- scrt2URL : 'https://inapporg3.test1.my.pc-rnd.salesforce-scrt.com'
19+ scrt2URL : 'https://inapporg3.demo. test1.my.pc-rnd.salesforce-scrt.com'
2220 }
2321 ) ;
2422 } catch ( err ) {
2523 console . error ( 'Error loading Embedded Messaging: ' , err ) ;
2624 }
2725 } ;
2826</ script >
29- < script type ='text/javascript ' src ='https://inapporg3.test1.my.pc-rnd.site.com/ESWe2eBotTest1686185155759/assets/js/bootstrap.min.js ' onload ='initEmbeddedMessaging() '> </ script >
30- </ body >
27+ < script type ='text/javascript ' src ='https://inapporg3.demo. test1.my.pc-rnd.site.com/ESWe2eBotTest1686185155759/assets/js/bootstrap.min.js ' onload ='initEmbeddedMessaging() '> </ script >
28+ </ body >
3129</ html >
You can’t perform that action at this time.
0 commit comments