Hi,
I am very new in this technology.
I have created a tile and when I click the tiles, it will move to the next page and in the next page I need to add smart filter with tree table.
How can I design in the page2 by adding all the required things?
I created an index.html page which is is below and I need to link with my view.xml from here. But I don't know how to link with view.xml and design on there.
<!DOCTYPE html>
<html>
<head>
<script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m"></script>
<meta charset="utf-8">
</head>
<script type="text/javascript">
sap.ui.getCore().attachInit(function () {
var app = new sap.m.App("myApp", {
initialPage: "page1"
});
// create the first page
var page1 = new sap.m.Page("page1", {
showNavButton: false,
content: new sap.m.StandardTile({
title: "Display Inventory and Activity Differences",
icon : "sap-icon://product",
press: function () {
app.to("page2");
}
})
});
// create the second page with a back button
var page2 = new sap.m.Page("page2", {
title: "Hello Page 2",
showNavButton: true,
navButtonPress: function () {
app.back();
}
});
app.addPage(page1).addPage(page2);
app.placeAt("content");
});
</script>
</head>
<body class="sapUiBody" id="content">
</body>
</html>