Skip to content

Commit deef0e5

Browse files
authored
Create channelMenu.html
1 parent bcd8c7a commit deef0e5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Shital/SDB6/channelMenu.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
<html>
3+
<head>
4+
<title>InApp</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"+Sheet2!B21>
6+
</head>
7+
<body>
8+
<h1> In APP Web Client for Org: "admin username"</h1>
9+
<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>
11+
<!-- <script type='text/javascript' src='https://service.force.com/asyncclient/bootstrap.js'>> -->
12+
<script type='text/javascript' src='https://service.force.com/embeddedservice/menu/fab.min.js'></script>
13+
<script type='text/javascript'>
14+
var initESW = function(gslbBaseURL) {
15+
// Required if you want labels in a language that’s different from your user’s context.
16+
//embedded_svc.menu.settings.language = ''; //For example, enter 'en' or 'en-US'
17+
18+
embedded_svc.menu.init(
19+
'https://orgfarm-c08e61ee25.demo.test1.my.pc-rnd.salesforce.com',
20+
'https://d.la5-test1-uswest2-core4.pc-aws.salesforceliveagent.com/chat',
21+
gslbBaseURL,
22+
'00DSG00000Jpq9i',
23+
'MIAW_FAB'
24+
);
25+
};
26+
27+
if (!window.embedded_svc || !window.embedded_svc.menu) {
28+
var s = document.createElement('script');
29+
s.setAttribute('src', 'https://orgfarm-c08e61ee25.demo.test1.my.pc-rnd.salesforce.com/embeddedservice/menu/fab.min.js');
30+
s.onload = function() {
31+
initESW(null);
32+
};
33+
document.body.appendChild(s);
34+
} else {
35+
initESW('https://service.force.com');
36+
}
37+
</script>
38+
</body>
39+
</html>

0 commit comments

Comments
 (0)