Legacy Dev Forum Posts

 View Only

Sign Up

Can we run web message widget locally?

  • 1.  Can we run web message widget locally?

    Posted 06-05-2025 18:36

    usuresh | 2023-05-04 19:50:38 UTC | #1

    Dear Team,

    Can we run web message with plain html and js file locally without deploying into website ? I have created to html file: Html Code <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Genesys Cloud WebMessage Demo</title> </head> <body> <H1>Test </H1> <script src="webmessagescript.js"></script> </body> </html>

    JS Code: (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: 'usw2', deploymentId: 'xxxxxxxxxxxxxxxxxxxxxxxxx' });


    Angelo_Cicchitto | 2023-05-05 06:39:45 UTC | #2

    Hi, Hope this previous post can help. Additionally, in Developer Tools, you'll fine a Web Messaging testing tool.


    usuresh | 2023-05-05 17:49:52 UTC | #3

    Thanks for your help Angelo..!!


    system | 2023-06-04 17:49:57 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 19752