Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Tile Container Not Displaying in sap.m.page

I have a JSView (which is where the tile container is defined) and I have confirmed that my view works by changing "page" to "dashboard" on line 15 which results in a fully working tile container. Put that tile container in the sap.m.page and all I see is a header bar with a title. Even if change line 15 to "dashboard" again and move the "page" definition to my JSView its the same result.

In any instance mentioned here,  there are no errors in the JavaScript console.

            sap.ui.localResources("Views"); 

            var oApp = new sap.m.App("myApp", {});

          

            var dashboard = sap.ui.view({

            id:"dashboard",

            viewName:"Views.dashboard",

            type:sap.ui.core.mvc.ViewType.JS

            });

          

            var page = new sap.m.Page("page1", {

            title: "Work Item Stats Dashboard",

            content: dashboard

            });

          

            oApp.addPage(page);

            oApp.placeAt("content");

Can anyone help me please? Thanks in advance.

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question