text: sap.ui.define([
      'sap/ui/core/mvc/Controller'
  ], function (Controller) {
      "use strict";
  
      var Controller = Controller.extend("DemoUXapp.controller.MainNavigation.MainPage", {
          onInit: function () {
              var sURL = "/";
              var amodel = new sap.ui.model.odata.ODataModel(sURL, true);
              var oModel = new sap.ui.model.json.JSONModel();
              amodel.read("/Objects-StoryBuilder", {
                  success: function (oRetrievedResult) {
                      oModel.setData(oRetrievedResult);
                  },
                  error: function (oError) { alert(`Error ${oError}`); }
              });
              this.getView().setModel(oModel);
          },
          getRouter: function () {
              return sap.ui.core.UIComponent.getRouterFor(this);
          }
      });
  
      return Controller;
  });