Skip to content
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
73 changes: 73 additions & 0 deletions giri/myDeployments/ESW_NA44_LOCAL_chatBotOrg.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
</head>
<body>
<h1>ESW on NA44 Local for Org: chatBotOrg</h1>


<style type='text/css'>
.embeddedServiceHelpButton .helpButton .uiButton {
background-color: #005290;
font-family: "Arial", sans-serif;
}
.embeddedServiceHelpButton .helpButton .uiButton:focus {
outline: 1px solid #005290;
}
</style>

<script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.min.js'></script>
<script type='text/javascript'>
var initESW = function(gslbBaseURL) {
embedded_svc.settings.displayHelpButton = true; //Or false
embedded_svc.settings.language = 'en'; //For example, enter 'en' or 'en-US'

//embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert)
//embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline)

//embedded_svc.settings.loadingText = ''; //(Defaults to Loading)
//embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)

// Settings for Chat
//embedded_svc.settings.directToButtonRouting = function(prechatFormData) {
// Dynamically changes the button ID based on what the visitor enters in the pre-chat form.
// Returns a valid button ID.
//};
//embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields
//embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId
//embedded_svc.settings.offlineSupportMinimizedText = '...'; //(Defaults to Contact Us)

embedded_svc.settings.enabledFeatures = ['LiveAgent'];
embedded_svc.settings.entryFeature = 'LiveAgent';

embedded_svc.init(
'https://chatbotorglocal.my.localhost.sfdcdev.salesforce.com:6101',
'https://chatbotorglocal.my.localhost.sfdcdev.salesforce-sites.com:6101/liveAgentSetupFlow',
gslbBaseURL,
'00Dxx0000006GpL',
'Chat_Scrum_team',
{
baseLiveAgentContentURL: 'https://ruhigup-ltmzzj9.internal.salesforce.com:8095/content',
deploymentId: '572xx0000004CFU',
buttonId: '573xx0000004CFU',
baseLiveAgentURL: 'https://ruhigup-ltmzzj9.internal.salesforce.com:8096/chat',
eswLiveAgentDevName: 'Chat_Scrum_team',
isOfflineSupportEnabled: false
}
);
};

if (!window.embedded_svc) {
var s = document.createElement('script');
s.setAttribute('src', 'https://chatbotorglocal.my.localhost.sfdcdev.salesforce.com:6101/embeddedservice/5.0/esw.min.js');
s.onload = function() {
initESW(null);
};
document.body.appendChild(s);
} else {
initESW('https://service.force.com');
}
</script>

</body>
</html>