Legacy Dev Forum Posts

 View Only

Sign Up

Genesys web SDK Namespace question

  • 1.  Genesys web SDK Namespace question

    Posted 06-05-2025 18:04

    Anthony_Gilio | 2024-07-09 18:46:27 UTC | #1

    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' });


    Jerome.Saint-Marc | 2024-07-10 07:51:20 UTC | #2

    Hello,

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

    Regards,


    Anthony_Gilio | 2024-07-10 21:54:33 UTC | #3

    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 https://developer.genesys.cloud/forum/t/audioconnector-api-clarification/26969


    system | 2024-08-10 21:54:34 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 27163