Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
9a2c124
Create NA44_LOCAL_chatBotOrg.html
guptaruhi Nov 16, 2023
cb3f044
Create miaw.html
guptaruhi Dec 23, 2024
3556187
Update miaw.html
guptaruhi Dec 23, 2024
491f08c
Update miaw.html
guptaruhi Dec 30, 2024
bfc3daf
Update miaw.html
guptaruhi Dec 30, 2024
cf2dd05
Update miaw.html
guptaruhi Dec 30, 2024
5cd8deb
Update miaw.html
guptaruhi Dec 30, 2024
242a22a
Update miaw.html
guptaruhi Dec 30, 2024
1e44738
Update miaw.html
guptaruhi Jan 6, 2025
d86250a
Update miaw.html
guptaruhi Jan 6, 2025
95f5f6d
Update miaw.html
guptaruhi Jan 8, 2025
201e6d8
Merge branch 'ESW1234:master' into master
guptaruhi Jan 17, 2025
bb5a431
Create miaw_sdb6
guptaruhi Jan 17, 2025
462864c
Delete ruhi/miaw_sdb6
guptaruhi Jan 17, 2025
6f1725d
Create miaw_sdb6.html
guptaruhi Jan 17, 2025
f03cba3
Update miaw_sdb6.html
guptaruhi Jan 17, 2025
29341c9
Update miaw_sdb6.html
guptaruhi Jan 17, 2025
f08ed92
Update miaw_sdb6.html
guptaruhi Jan 17, 2025
2d6888c
Update miaw_sdb6.html
guptaruhi Jan 20, 2025
aed0483
Update miaw_sdb6.html
guptaruhi Jul 17, 2025
68578da
Update miaw_sdb6.html
guptaruhi Jul 17, 2025
c79ccc7
Update miaw_local.html
guptaruhi Jul 18, 2025
88e04f0
Update miaw_local.html
guptaruhi Jul 18, 2025
162daf0
Create miaw_loacl_prechat.html
guptaruhi Jul 22, 2025
07d4f03
Update miaw_loacl_prechat.html
guptaruhi Jul 22, 2025
7b4ef1d
Create miaw_sdb6_prechat.html
guptaruhi Jul 22, 2025
4479569
Update miaw_loacl_prechat.html
guptaruhi Jul 22, 2025
7f7417e
Update miaw_sdb6_prechat.html
guptaruhi Jul 28, 2025
c2e7c90
Update miaw_sdb6_prechat.html
guptaruhi Jul 30, 2025
2f351e6
Update miaw_sdb6_prechat.html
guptaruhi Jul 31, 2025
f7bf206
Create miaw_local_auth.html
guptaruhi Aug 7, 2025
415311d
Update miaw_local_auth.html
guptaruhi Aug 7, 2025
8a18cb1
Update miaw_sdb6_prechat.html
guptaruhi Aug 14, 2025
ee39855
Update miaw_loacl_prechat.html
guptaruhi Aug 14, 2025
39c2e8c
Update miaw_loacl_prechat.html
guptaruhi Aug 14, 2025
ad97f02
Update miaw_sdb6_prechat.html
guptaruhi Aug 18, 2025
7333dd6
Update miaw_loacl_prechat.html
guptaruhi Sep 2, 2025
5ce95ed
Create miaw_sdb6_channelmenu.html
guptaruhi Sep 16, 2025
61b6bd2
Create miaw_local_custom.html
guptaruhi Sep 18, 2025
fab8f26
Update miaw_loacl_prechat.html
guptaruhi Sep 24, 2025
e424e88
Update miaw_loacl_prechat.html
guptaruhi Sep 24, 2025
04fbc20
Update miaw_loacl_prechat.html
guptaruhi Sep 24, 2025
cfc11e9
Update miaw_loacl_prechat.html
guptaruhi Sep 25, 2025
d2628ee
Update miaw_loacl_prechat.html
guptaruhi Sep 25, 2025
ee8a52e
Update miaw_loacl_prechat.html
guptaruhi Sep 25, 2025
a8e0c93
Update miaw_loacl_prechat.html
guptaruhi Sep 25, 2025
7e460ac
Update miaw_local_auth.html
guptaruhi Sep 28, 2025
46e20c9
Update miaw_local_auth.html
guptaruhi Sep 28, 2025
d58e2f8
Update miaw_local_auth.html
guptaruhi Sep 28, 2025
05d3d47
Update miaw_loacl_prechat.html
guptaruhi Oct 10, 2025
2f8f976
Create miaw_local_prechat_new.html
guptaruhi Oct 14, 2025
64e455f
Update miaw_local_prechat_new.html
guptaruhi Oct 14, 2025
a509dbe
Update miaw_loacl_prechat.html
guptaruhi Oct 17, 2025
accd0f6
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
32c7608
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
f60de59
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
7082462
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
429cc81
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
93d77ce
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
8ea97bf
Update miaw_local_prechat_new.html
guptaruhi Nov 1, 2025
51aff08
Create miaw_local_ws.html
guptaruhi Nov 2, 2025
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
153 changes: 153 additions & 0 deletions guptaruhi/NA44_LOCAL_chatBotOrg.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">

</head>

<body>

<h1>In APP on NA44 Local for Org: chatBotOrg</h1>





<!--------------- Replace below block with In App Deployment Code------------------------------>



<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',

'EmbeddedDeployment',

{

baseLiveAgentContentURL: 'https://ruhigup-ltmzzj9.internal.salesforce.com:8095/content',

deploymentId: '572xx0000004CFU',

buttonId: '573xx0000004C92',

baseLiveAgentURL: 'https://ruhigup-ltmzzj9.internal.salesforce.com:8096/chat',

eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04Ixx0000004CAeEAM_18bd8dcc6a0',

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>
35 changes: 35 additions & 0 deletions ruhi/miaw.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<html>
<head>
<title>InApp</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
</head>
<body>

<h1> In APP Web Client for Org: "HEREadmin username"</h1>
<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>
<!-- <script type='text/javascript' src='https://service.force.com/asyncclient/bootstrap.js'>> -->


<script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

embeddedservice_bootstrap.init(
'00Dxx0000006Gnj',
'MIAWDepPreChat8Jan',
'https://localorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWDepPreChat8Jan1736358199767',
{
scrt2URL: 'https://localorg.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://localorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWDepPreChat8Jan1736358199767/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
35 changes: 35 additions & 0 deletions ruhi/miaw_loacl_prechat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body><script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

window.addEventListener("onEmbeddedMessagingReady", () => {
console.log("Received the onEmbeddedMessagingReady event…");

// Send data to Salesforce
embeddedservice_bootstrap.prechatAPI.setHiddenPrechatFields(
{"MiddleName" : "K"});
});

embeddedservice_bootstrap.init(
'00Dxx0000006Gm7',
'MIAWDP25Sep',
'https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAEDP25Sep1758803904400',
{
scrt2URL: 'https://chatorg.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAEDP25Sep1758803904400/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
10 changes: 5 additions & 5 deletions ruhi/miaw_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

embeddedservice_bootstrap.init(
'00Dxx0000006Gnj',
'MIAWDeployment',
'https://localorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWDeployment1728056632569',
'00Dxx0000006Gm7',
'MIAW9Jul',
'https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAW9Jul1752053748065',
{
scrt2URL: 'http://localorg.my.localhost.sfdcdev.salesforce-scrt.com'
scrt2URL: 'https://chatorg.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://localorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWDeployment1728056632569/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
<script type='text/javascript' src='https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAW9Jul1752053748065/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
38 changes: 38 additions & 0 deletions ruhi/miaw_local_auth.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body><script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

embeddedservice_bootstrap.init(
'00Dxx0000006Gm7',
'MIAWAuth28Sept',
'https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWAuth28Sept1759044962682',
{
scrt2URL: 'https://chatorg.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};

function setJwtToken(){
embeddedservice_bootstrap.userVerificationAPI.setIdentityToken({
identityTokenType : "JWT",
identityToken : "eyJraWQiOiIxMjM0NSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJ0ZXN0SXNzdWVyIiwic3ViIjoidXNlcjEiLCJleHAiOjE3NTMzMzUwNTcsImlhdCI6MTc1MjczNTA1N30.GZRy0bVr5df4LrXt6tTKueE22AlJAQF3qOYUOW0yDOmKA5W9QCNIrf41P7XFEssgGwI5yxY82t3KunXz1T0_hD2yd3mlCFHxJMJFnAj4Svgi282Nc8bOqg-E1qJngcf7WhLrtmqxibwI5kJlHYeNnpzg7GCX7-mMMGX4NUUiITZva6Wt10ZvCsrf_16_RSEwdi_R_fqHW3o2ZGGB6ug1b118JYn27zbprhzWp1MPQkR9tpxbwJCS3I_kMDRsc0cjdSOjWtsygNbzze2_p7sf6vtz9vZNQGgBOOKrMzhzyqKT0iTb5SdG_LQqzHVVm64twfLdAvGJfOsMKBN-jD4wvQ" // paste the JWT token created inside the quotes
});
}
window.addEventListener("onEmbeddedMessagingReady",() => {
setJwtToken();
console.log("JWT Token is Set");
});
</script>
<script type='text/javascript' src='https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWAuth28Sept1759044962682/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
13 changes: 13 additions & 0 deletions ruhi/miaw_local_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body>
{
"OrganizationId": "00Dxx0000006Gm7",
"DeveloperName": "MIAWCustom",
"Url": "http://chatorg.my.localhost.sfdcdev.salesforce-scrt.com"
}
</body>
</html>
27 changes: 27 additions & 0 deletions ruhi/miaw_local_prechat_new.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body><script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

embeddedservice_bootstrap.init(
'00Dxx0000006GpL',
'MIAWPrechatDep',
'https://chatorg258.my.localhost.sfdcdev.site.com:6101/ESWMIAWPrechatChannel1761840641805',
{
scrt2URL: 'https://chatorg258.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://chatorg258.my.localhost.sfdcdev.site.com:6101/ESWMIAWPrechatChannel1761840641805/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
27 changes: 27 additions & 0 deletions ruhi/miaw_local_ws.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body><script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'

embeddedservice_bootstrap.init(
'00Dxx00zz7LF45w',
'MIAWDep2Nov',
'https://orgfarm-66393df15d.my.site-com.2cry8qt991n60eb2z1skcpu.ac.crm.dev:6101/ESWMIAWDep2Nov1762061329083',
{
scrt2URL: 'https://orgfarm-66393df15d.my.salesforce-scrt-com.2cry8qt991n60eb2z1skcpu.ac.crm.dev:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://orgfarm-66393df15d.my.site-com.2cry8qt991n60eb2z1skcpu.ac.crm.dev:6101/ESWMIAWDep2Nov1762061329083/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>

</body>
</html>
Loading