Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create user8chat.html #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions csi/stmfb/na45/user8chat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- Async client url: https://esw1234.github.io/csi/stmfb/na45/user8chat.html -->
<html>

<head>
<title>CSI in stmfb</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
</head>

<body>
<h1>CSI in stmfb environment</h1>
<p><a href="https://login.stmfb.stm.salesforce.com" target="_blank" style="color:blue">Click here into login as agent</a> [email protected]</p>
<p><a id="editThisPageLink" target="_blank" style="color:blue">Edit this page</a></p>
<script>
document.getElementById('editThisPageLink').href = "https://github.com/ESW1234/esw1234.github.io/edit/master" + window.location.pathname;
</script>

<!-- This script tag is generated from Setup > Embedded service deployment > view one of the deployments > Code Snippet -->
<script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en'; // For example, enter 'en' or 'en-US'
embeddedservice_bootstrap.settings.debugMode = true;
embeddedservice_bootstrap.init(
'00DS70000000U0X',
'user8_esw',
'https://csi2.stmfb.my.stm.salesforce.com',
{
scrt2URL: 'https://csi2.stmfb.my.stm.salesforce-scrt.com'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>

<!-- Replace the source url with the org's domain url from the above script(the url that doesn't end with scrt.com) -->
<script type='text/javascript' src='https://csi2.stmfb.my.stm.salesforce.com/embeddedservice/asyncclient/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
</body>
</html>