Answers for "get json model from another component in sapui5"

0

get json model from another component in sapui5

var oData = sap.ui.getCore().getModel().getData();
Posted by: Guest on August-13-2021
0

get json model from another component in sapui5

var oModel = new sap.ui.model.json.JSONModel(oData);
sap.ui.getCore().setModel(oModel, "modelname");

var oData = sap.ui.getCore().getModel("modelname").getData();
Posted by: Guest on August-13-2021
0

get json model from another component in sapui5

var oModel = new sap.ui.model.json.JSONModel(oData);
sap.ui.getCore().setModel(oModel);
Posted by: Guest on August-13-2021

Code answers related to "get json model from another component in sapui5"

Code answers related to "Javascript"

Browse Popular Code Answers by Language