Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

This is a question about how to do something in Framework.js, a code/deployment question.

  • 1.  This is a question about how to do something in Framework.js, a code/deployment question.

    Posted 21 days ago

    For our InteractionSync for Genesys Cloud product, we currently have a framework.js deployed with the name "avtexDynamics" which is in use by many customers.

    However, we would like to be able to support an older group of customer who are using a legacy "on premise" version of our product. Those customers need to continue to use the existing framework.js, while we are planning updates to the framework.js file for a major upcoming release, which will not be backwards-compatible.

    We are currently using a custom embeddable framework in Genesys Cloud integrated with Microsoft Dynamics CRM.

    Our existing integration is hosted at:
    Genesys Cloud CRM Web Client

    This uses the embeddable framework name avtexDynamics,

     We would like to know if it is possible to host two copies of the framework.js file (with the same name and similar URL), and send a URL parameter to the index.html to choose which one to load. For example, framework.js (existing) and framework_new.js

     The integration 'name' and URL can't change because the name is used for existing agent permissions, and the URL for OAuth redirects.

     Alternatively, could we change framework.js to remotely load and inject JavaScript from our cloud deployment, so that we can dynamically run the correct version of framework code?


    #EmbeddableFramework

    ------------------------------
    Sai Shankar
    x
    ------------------------------


  • 2.  RE: This is a question about how to do something in Framework.js, a code/deployment question.

    Posted 18 days ago

    Hi Sai Shanker,

     No, there can't be multiple framework.js for single integration. Also we can't load the framework.js remotely, as this may raise security concerns. 



    ------------------------------
    Parthiban Thangarajan
    Principal Full Stack Developer
    ------------------------------