Hi you all,
I just started SAPUI5 App development. I am facing a strange problem, my app is working fine when i am running it on my Eclipse Neon. But when i import it to SAP Front end system, it jsut displaying blank page.
I can't able to figure out what is actual problem with it.
I created an indext.html file that calling Componet.js:-
sap.ui.getCore().attachInit(function () {
new sap.m.Shell({
app: new sap.ui.core.ComponentContainer({
name: "sap.ui.test.myFiori",
height : "100%"
})
}).placeAt("content");
I created a component.js where i use metadata to call rootView, that is App.view.xml like this:
metadata : {
id: "sap.ui.test.myFiori",
name : "{{appTitle}}",
description : "{{appDescription}}",
version : "1.0",
includes : [],
dependencies : {
libs : [ "sap.m", "sap.ui.layout" ],
components : []
},
rootView : "sap.ui.test.myFiori.view.App",......
But view page is not accessible.
May i have to use sap.ui.commons library, or sap.m is enough to run a simple app?
Have i require to change my view type from xml to js, or is it okay?
Thanks and regards,
Anoop Kumar Rai