Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3019

What to do with the index.html file while deploying sapui5 app on fiori launchpad

$
0
0

Hi Experts,

 

I have created a custom sapui5 app to be deployed on the sap fiori launchpad.

I have followed the following prerequisites for the app to be dployed as a fiori app:

- all views are xml views

- contains component.js

 

My component.js contains only the following:

 

createContent : function() {

 

 

var oViewData = {
component : this
};
return sap.ui.view({
id:"ProdOrdCnfView",
viewName : "XXXXXX.xxxxx.ProdOrdCnf",
type : sap.ui.core.mvc.ViewType.XML,
viewData : oViewData
});

}

 

I have an index.html which contains the following:

 

<script>

 

sap.ui.getCore().attachInitEvent(function() {
var oComponentContainer = new sap.ui.core.ComponentContainer({
height : "100%",
name : "XXXXPOC"
});
oComponentContainer.placeAt("content");
});

 

</script>

 

Questions: a) Are there any other prerequisites for an ui5 app to be deployed to the fiori launchpad?

                   b) As Fiori apps does not contain index.html. What shall i do with my index.html? Do i need to remove it before uploading my project as a BSP application?

 

 

Please guide.

 

Thanks and Regards,

Vinayak Puranik


Viewing all articles
Browse latest Browse all 3019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>