title: How to use JSON Model Property as path for OData v4 List Binding in UI5
body: <p>I try to display a list of objects from an OData V4 service in SAP UI5. I would like to use a property from a JSON Model to set the binding path for the list items.</p>
  
  <p>I thought I can just set the path in the items aggregation of the table:</p>
  
  <pre><code>&lt;Table
    items="{
      path: '{appView&gt;/dataPath}',
      parameters: {
        $count: true,
        $$updateGroupId: 'peopleGroup'
      }
    }"&gt;...&lt;/Table&gt;
  </code></pre>
  
  <p>and of course define and set the model:</p>
  
  <pre><code>var oViewModel = new JSONModel({
    dataPath: "/People"
  });
  
  this.getView().setModel(oViewModel, "appView");
  </code></pre>
  
  <p>For some reason the data is not loaded. There is not even items binded to the table:</p>
  
  <pre><code>oTable.getBinding("items");  // undefined
  </code></pre>
  
  <p>The JSON Model is defined in the init method of the controller.</p>
  
  <p>Anybody has an idea why this is not working?</p>