Genesys web SDK Namespace question

Is it possible to change the namespace or object name from Genesys to Genesys_2 or something else aside from Genesys? (window, 'Genesys',? Will everything still work?

(function (g, e, n, es, ys) {
g['_genesysJs'] = e;
g[e] = g[e] || function () {
(g[e].q = g[e].q || []).push(arguments)
};
g[e].t = 1 * new Date();
g[e].c = es;
ys = document.createElement('script'); ys.async = 1; ys.src = n; ys.charset = 'utf-8'; document.head.appendChild(ys);
})(window, 'Genesys', 'https://apps.usw2.pure.cloud/genesys-bootstrap/genesys.min.js', {
environment: 'prod-usw2',
deploymentId: 'xxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxxxxxxxxx'
});

Hello,

No it is not meant to be changed. These are referenced in the genesys.min.js library (and dependencies).

Regards,

Thanks was hoping for a way to have WebChat/screen share and Messager co-exist while a large client updates their applications. If the namespace was different it would / should work. As of now they conflict. Can you look at my last update question on AudioConnector API Clarification

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.