Hello Michael,
Thanks for the quick response. The above article you suggested is for a Custom code where we are using navigator plugins or widget to perform operation where we need to modify web.xml and configurations files. In my current Solution we are making Case REST API call to fetch the roles of user for certain validation from ScriptAdaptor. Also, I am not admin person so not sure about what configuration I can make in order to resolve this issue.
------------------------------
Rutvik Rajpura
------------------------------
Original Message:
Sent: Wed May 17, 2023 08:12 AM
From: Michael Kirchner
Subject: CORS Error
Hi Rutvik,
not sure about the architecture/topology you are using, but assuming you are moving to the external CPE/ICN pattern, did you follow
https://www.ibm.com/docs/en/baw/22.x?topic=upgrading-using-external-content-navigator
Especially 7.a.ii has instructions to configure CORS correctly.
Best regards,
Michael
------------------------------
Michael Kirchner
Sr. Business Automation Partner Technical Specialist
IBM Technology
Germany
Original Message:
Sent: Tue May 16, 2023 03:27 AM
From: Rutvik Rajpura
Subject: CORS Error
Hello team,
Hope you are doing well. We recently migrated our Case Builder Solution to Newer Case builder under BAW environment. Post migrating Solution, I am getting error while testing application. Let me know If you have any solution for that it will be a great help. we are using IBM CaseManager Rest API to perform certain operation.
Error in Browser Console
Access to XMLHttpRequest "https://MyUrls" from origin "My Server Name" has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
------------------------------
Rutvik Rajpura
------------------------------