hello!
I have two views and navigation between them works fine. However, now I want to also pass some data between them. I know that it's somehow possible to pass data as a parameter in app.to(), but how can I fetch this in the other view?
I have populated a variable (data) with information from a json-service.
Code:
var oModel = new sap.ui.model.json.JSONModel(data); var oTiles = new sap.m.StandardTile({ icon : "{PictureURL}", number : "{Price}", title : "{Name}", info : "{Brand}", press : this.getController().tilePress });
tilePress : function(evt) { app = sap.ui.getCore().byId("app"); app.to("Info","flip"); }
Thanks in advance!