on 04-05-2017 7:25 AM
Hi Experts,
We have deployed one custom SAPUI5 application.
It is working absolutely fine on these browsers- Chrome, Firefox, Microsoft Edge
But when we run the application on Internet Explorer(11), It does not load,
First we thought that there is some launchpad issue, but it is not working when we run it standalone too.
in IE console(F12):
Here is our index.html
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="companyBranding"
data-sap-ui-xx-bindingSyntax="complex"
>
</script>
<!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme -->
<link rel="stylesheet" type="text/css" href="Style/myCSS.css">
<script>
sap.ui.localResources("zmissionu");
var app = new sap.m.App({initialPage:"iduser_screen1"});
var page = sap.ui.view({id:"iduser_screen1", viewName:"zmissionu.user_screen", type:sap.ui.core.mvc.ViewType.XML});
app.addPage(page);
app.placeAt("content");
</script>
</head>
<body class="sapUiBody" role="application">
<div id="content"></div>
</body>
</html>
I encountered with same problem again, So I used polyfill , It helps to make application compatible with your browser.
Add this in index.html and also, If it is still giving error remove "use strict" from controller.
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.