title: How to access config object in OpenUI5 Manifest.json
body: <p>I am using the OpenUI5 framework to create a custom component. I want to access some config settings that I set in the component's manifest.json file. According to the <a href="https://openui5.hana.ondemand.com/docs/guide/be0cf40f61184b358b5faedaec98b2da.html" rel="nofollow">documentation</a> I can create some name/value pairs within a "config" object nested inside the "sap.ui5" object: </p>
  
  <blockquote>
    <p>config:   Static configuration; specify the name-value pairs that you need in your component.</p>
  </blockquote>
  
  <p>and i should be able to access those settings from my component like so:</p>
  
  <pre class="lang-js prettyprint-override"><code>this.getMetadata().getManifest();
  </code></pre>
  
  <p>After calling that method and inspecting the returned sap.ui5 object in the console, the only objects available are "dependencies", "extends", "models", and "rootView".  No "config" object.</p>
  
  <p>How can i access my config settings in the manifest.json?</p>
  
  <p>snippet of manifest.json:</p>
  
  <pre class="lang-json prettyprint-override"><code>...
  "sap.ui5": {
      "_version": "1.1.0",
      "rootView": {
          "viewName": "ctg.openui5.components.webmap.view.Map",
          "type": "HTML"
      },
      "dependencies": {
          "minUI5Version": "1.30",
          "libs": {
              "sap.m": {}
          }
      },
      "models": {
          "i18n": {
              "type": "sap.ui.model.resource.ResourceModel",
              "settings": {
                  "bundleName": "ctg.openui5.components.webmap.i18n.i18n"
              }
          }
      },
      "config": {
          "lat": 1,
          "lon": 2
      }
  }
  </code></pre>