Skip to Content

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

Fiori My Leads controller extension

Hi Experts,

I am extending an SAP Fiori My Leads application following the SAP best practices.

I want to extend s3.controller.js in order to get the data for a custom tab that i have already implemented, but on debugging i found that no service is being invoked when i click the tab.

Kindly advice.

Thanks and Regards,

Raina Goyal

replied

var oData_m = this.oModel.oData;

var tab = this.getView().byId("SalesAreaDetails");

var jsonModel = new sap.ui.model.json.JSONModel(oData_m);

tab.setModel(jsonModel, "json1");

Regards,

Sarbjeet Singh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question