title: View not displaying Model Data from Manifest.json
body: <p>I'm trying to setup my app descriptor file (manifest.json) to include a named model, 'inputs' in its "models" object. From my understanding, after doing so, the model should be available throughout the app when provided the correct path (see XML View). </p>
  
  <p>The reason I'd like to setup this manifest.json is because it's a best practice to configure all models in here. </p>
  
  <p>In the controller, I'd like to get and then set the 'inputs' Model defined in the manifest.json --but how can this be done?</p>
  
  <p><strong>manifest.json</strong> (Where I have configured the 'inputs' model)</p>
  
  <pre><code>{
      "_version": "1.1.0",
      "sap.app": {
          "_version": "1.1.0",
          "id": "pricingTool",
          "type": "application",
          "applicationVersion": {
              "version": "1.0.0"
          },
          "title": "{{appTitle}}",
          "description": "{{appDescription}}",
          "ach": "ach",
          "resources": "resources.json",
          "sourceTemplate": {
              "id": "ui5template.basicSAPUI5ApplicationProject",
              "version": "1.30.3"
          },
      },
  
      "sap.ui": {
          "_version": "1.1.0",
          "technology": "UI5",
          "icons": {
              "icon": "",
              "favIcon": "",
              "phone": "",
              "phone@2": "",
              "tablet": "",
              "tablet@2": ""
          },
          "deviceTypes": {
              "desktop": true,
              "tablet": true,
              "phone": true
          },
          "supportedThemes": [
              "sap_hcb",
              "sap_bluecrystal"
          ]
      },
  
      "sap.ui5": {
          "_version": "1.1.0",
          "rootView": {
              "viewName": "pricingTool.view.Main",
              "type": "XML"
          },
          "dependencies": {
              "minUI5Version": "1.30.0",
              "libs": {
                  "sap.ui.core": {},
                  "sap.m": {},
                  "sap.ui.layout": {}
              }
          },
          },
          "contentDensities": {
              "compact": true,
              "cozy": true
          },
          "models": {
              "inputs": {
                          "type": "sap.ui.model.json.JSONModel",
                          "uri":  "model/inputs.json"
              },
  
          },
      }
  </code></pre>
  
  <p><strong>Main.controller.js</strong> (where the 'inputs' model should be set from the manifest file)</p>
  
  <pre><code>sap.ui.define([
          'jquery.sap.global',
          'sap/ui/core/mvc/Controller',
          'sap/ui/model/json/JSONModel',
          'sap/ui/model/Filter',
          'sap/ui/model/FilterOperator',
          'sap/m/MessageToast',
          'pricingTool/model/viewControls',
          'pricingTool/model/formatter',
          'pricingTool/model/Utility',
          'sap/ui/core/util/Export',
          'sap/ui/core/util/ExportTypeCSV',
      ],
  
      function (jQuery, Controller, JSONModel, Filter, FilterOperator, MessageToast, viewControls, formatter, Utility, Export, ExportTypeCSV) {
  
          "use strict";
  
          var mainController = Controller.extend("pricingTool.controller.Main", {
  
              onInit: function(oEvent) {
  
                  //define named/default model(s)
                  var inputs = new JSONModel("./model/inputs.json");
  
                  //set model(s) to current xml view
                  this.getView().setModel(inputs, "inputs");
  
  //this is one solution I have tried, but doesn't do anything: 
  // this.getView().setModel(this.getOwnerComponent().getModel("inputs"), "inputs");
  
  //another solution I have tried:
  //var inputs = this.getModel('input')  &lt;--I was hoping this would find the inputs defined in the manifest.json, but this doesn't work either
  // this.getView().setModel(inputs, "inputs");
  
  
              },
  
              ...
  </code></pre>
  
  <p><strong>inputs.json</strong></p>
  
  <pre><code>{
      "propA" : "testVal"
  }
  </code></pre>
  
  <p><strong>XML View</strong></p>
  
  <pre><code>&lt;Button text="{inputs&gt;propA}"&gt;&lt;/Button&gt;
  </code></pre>
  
  <p><strong>Components.js</strong> (Not sure what to do in the Component.js)</p>
  
  <pre><code>sap.ui.define([
              'sap/ui/core/UIComponent'
      ],
      function(UIComponent) {
      "use strict";
  
  
      var Component = UIComponent.extend("pricingTool.Component", {
  
          metadata : {
  
              metadata : {
                  manifest: "json"
              },
              rootView : "pricingTool.view.Main",
              dependencies : {
                  libs : [
                      "sap.m",
                      "sap.ui.layout"
                  ]
              },
              config : {
                  sample : {
                      files : [
                          "Main.view.xml",
                          "Main.controller.js"
                      ]
                  }
              }
          },
  
          init : function () {
              // call the init function of the parent
              UIComponent.prototype.init.apply(this, arguments);
  
          }
      });
  
      return Component;
  
  });
  </code></pre>
  
  <p>The problem is that the model property ("propA") is not displaying when I test it on a button control. Can anyone tell me why the model is not displaying in the app?</p>
  
  <p><strong>Summarizing Question</strong></p>
  
  <p><strong>How can I define a model in manifest.json, and then set that model in the controller so I can use it in my xml view?</strong></p>