Hi All,
I am trying to develop a UI5 application and running that in Fiori client and got the error,
t.createContent is not a function at Object sap.ui.view
My UI5 application running perfectly if I run it standalone. Here is my Component.js file.
jQuery.sap.declare("sap.ui.zfinpeople.Component");
jQuery.sap.require("sap.ui.core.UIComponent");
// console.log("Hello_before");
sap.ui.core.UIComponent.extend("sap.ui.zfinpeople.Component", {
createContent : function() {
// var myController = sap.ui.controller("sap.ui.zfinpeople.zfindpeople.view.findpeople");
var oView = sap.ui.view({
id : "idfindpeople1",
viewName : "sap.ui.zfinpeople.zfindpeople.view.findpeople",
type : "JS",
// controller : myController,
viewData : {
component : this
}
});
return oView;
}
});

Thanks
Angshuaman