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"
},
Northwind!多年没有想到这一点。 –