2017-06-10 11 views
0

リスト項目のOdata Service Northwind V2からいくつかの値をバインドしたいが、出力にデータが表示されない。私はすでにマニフェストでサービスを与えています。 誰かがこの問題を私に助けてくれたら助かります。sap ui5バインディングOdata northwind

<List id="listid" items="{model>/Products}"  headerText="Products"> 
    <items> 
    <StandardListItem 
     title="{ProductName}" 
     description="{model>ProductId}" 

     type="Navigation" /> 

     </items> 
</List> 

enter code here 

マニフェスト:

"title": "{{appTitle}}", 
    "description": "{{appDescription}}", 
    "dataSources": { 
    "datamodel": { 
    "uri": "/destinations/northwind/V2/Northwind/Northwind.svc/", 
    "type": "OData", 
    "settings": { 
     "odataVersion": "2.0" 

....... "model": { "dataSource": "datamodel"

neoapp

"path": "/northwind", 
    "target": { 
    "type": "destination", 
    "name": "northwind" 
    }, 
    "description": "Northwind OData Service" 
}, 
+0

ノースウィンド!何年も前から考えられていなかった。 –

答えて

0

あなたneoappのパスはフィットする必要がありますあなたのママのウリnifest.jsonなど、他の方法で

.. 
    "path": "/destinations/northwind", // add /destinations 
    "target": { 
    "type": "destination", 
    "name": "northwind" 
    }, 
.. 
関連する問題