BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

CORS policy issue in custom widget with IBM BAW 24.x upgrade

  • 1.  CORS policy issue in custom widget with IBM BAW 24.x upgrade

    Posted Fri March 21, 2025 12:34 PM
    Edited by Ravi Kiran Saladi Fri March 21, 2025 01:14 PM

    Hi Team,

    We are facing below CORS policy issue in our custom widget after upgrading to BAW 24.x and we followed the steps (7.a and 7.b) as suggest in the below link but no luck so far. 

    Issue in browser console while loading the case details page with custom widget :

    Access to XMLHttpRequest at 'https://<<BAW Host>>/CustomWidget/icm/custom/pgwidget/caseinfo/dijit/templates/CaseInfoContentPaneMobile.html' from origin 'https://<<ICN Host>>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Link we followed to upgrade our custom widget as part of BAW upgrade :

    We rebuild our custom widget with suggest web.xml entries and casecors.jar file in lib and deployed it but no luck and still unable to load the case details page.

    Upgrading your IBM Case Manager system using an external IBM Content Navigator

    Ibm remove preview
    Upgrading your IBM Case Manager system using an external IBM Content Navigator
    Traditional: This approach is the only approach for production environments. It is the recommended approach for all environments because it augments IBM Case Manager with IBM Business Automation Workflow while keeping the IBM Case Manager topology similar to the one before the upgrade.
    View this on Ibm >

    Thanks!



    ------------------------------
    Ravi Kiran Saladi
    ------------------------------