File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ < html >
3+ < head >
4+ < title > InApp</ title >
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1, minimum-scale=1 ">
6+ </ head >
7+ < body >
8+
9+ < h1 > In APP Web Client for Org: "bt20250106"</ h1 >
10+ < p > < a id ="editThisPageLink " target ="_blank " style ="color:blue "> Edit this page</ a > </ p >
11+ < script > document . getElementById ( 'editThisPageLink' ) . href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window . location . pathname ; </ script >
12+ < script type ='text/javascript '>
13+ function initEmbeddedMessaging ( ) {
14+ try {
15+ embeddedservice_bootstrap . settings . language = 'en_US' ; // For example, enter 'en' or 'en-US'
16+ window . addEventListener ( "onEmbeddedMessagingReady" , ( ) => {
17+ embeddedservice_bootstrap . prechatAPI . setHiddenPrechatFields ( {
18+ "Language" : "Arabic"
19+ } ) ;
20+ } ) ;
21+ embeddedservice_bootstrap . init (
22+ '00DSG00000aBjhp' ,
23+ 'Auth_With_Prechat' ,
24+ 'https://orgfarm-89cf0137bd.test1.my.pc-rnd.site.com/ESWAuthWithPrechat1762862577546' ,
25+ {
26+ scrt2URL : 'https://orgfarm-89cf0137bd.test1.my.pc-rnd.salesforce-scrt.com'
27+ }
28+ ) ;
29+ } catch ( err ) {
30+ console . error ( 'Error loading Embedded Messaging: ' , err ) ;
31+ }
32+ } ;
33+ </ script >
34+ < script type ='text/javascript ' src ='https://orgfarm-89cf0137bd.test1.my.pc-rnd.site.com/ESWAuthWithPrechat1762862577546/assets/js/bootstrap.min.js ' onload ='initEmbeddedMessaging() '> </ script >
35+ </ body >
36+ </ html >
You can’t perform that action at this time.
0 commit comments