BPM, Workflow, and Case

 View Only
Expand all | Collapse all

How to load an external file In IBM Case manager widget js file

  • 1.  How to load an external file In IBM Case manager widget js file

    Posted Thu January 06, 2022 08:21 AM

    Hi, 

    Is there a way to load an external file(json or properties or text) and use the data in external file in widget js file. Actually the reason behind this question is, We are connecting to an external application from case manager widget using request.get method by just providing context root of the external application. Till now there is no issue as the application and Widget are hosted in same WAS application server.

     

    Now we are moving the external application from WAS to JBOSS Server and we need to hard code full URL of this external application in Widget js to make it work. We are looking a way to load this url from an external properties file so that we can maintain a single code base which can be deployed in all the environments (DEV,SIT,UAT and PROD) and just maintain a property file in different environments.

     

    Kindly please let us know if there any solution for loading an external file in Case manager widget.

     

    Thanks

    Naveen

     



    ------------------------------
    Naveen Kumar Reddy Chappidi
    ------------------------------


  • 2.  RE: How to load an external file In IBM Case manager widget js file

    Posted Thu January 20, 2022 12:34 PM
    Hi.

    Check out this support note and see if it helps.

    https://www.ibm.com/support/pages/best-practices-debugging-and-organizing-scripting-code-case-manager

    ------------------------------
    DAVE PERMAN
    ------------------------------