Symptom
The Article is only for previewing applications on BAS. [Design Time]
While running the application from SAP Business Application Studio for test, you are getting the following error from the browser console which is blocking the access to the external server URL:
Access to XMLHttpRequest at '<external server URL>' from origin 'https://port8080-workspaces-ws-<ws-id>.<region>.applicationstudio.cloud.sap' 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."
Read more...
Environment
SAP Business Application Studio
Product
Keywords
Access-Control-Allow-Origin, CORS, CSP, origin , KBA , CA-BAS-RUN-HTML5 , Run HTML5 Module (DOES NOT INCLUDE SAP FIORI APPS) , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.