Hi There, I was using openUI5 as reference to develop my applications ( downloaded the library and referring local version in my application )
Now i have a need to refer sap.viz library in my application and i figured sap.viz is not part of openUI5 .
So, i started to refer library from remote host like below :
<script id="sap-ui-bootstrap" type="text/javascript" data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.ui.ux3,sap.m,sap.viz" data-sap-ui-theme="sap_bluecrystal" src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"> </script>
I have deployed my application on SAP MII ( Netweaver java based ) .
The application doesn't work in IE 0 but it works fine in Chrome. When i researched it is to do with CORS (cross origin requests ) . I tried to define Content-security-policy to ignore this using below code but it doesn't help .
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://sapui5.hana.ondemand.com"/><meta http-equiv="X-Content-Security-Policy" content="script-src 'self' https://sapui5.hana.ondemand.com"/>
So, either i need a solution to ignore this by IE10 OR Need a way to download sap.viz libary .
Please advice.
Thanks
Hari