SAP UI5 Application Development Tutorial No. 74 - A trap of using OData V4 to display Table data in SAP UI5 application

When I made the 67th step of this tutorial, I encountered some pitfalls when using the OData V4 version of the service in the SAP UI5 application, and I will share it with you here.

SAP UI5 Application Development Tutorial No. 67 - Implementation of SAP UI5 List-Detail (List-Detail) Layout Based on OData V4

PostmanWe access NorthWindthe url of the well-known OData service for learning and teaching purposes in:

https://services.odata.org/v2/northwind/northwind.svc/Categories

The url fragment v2indicates that this OData service is based on OData Version 2.

The Accept field of the HTTP request is selected as application/json, so that the request result is displayed in json format:

The JSON data returned by the server is as follows. The field name dof the first layer is as follows, and the second layer is results:

The structure of these 8 categories at a glance:

Guess you like

Origin blog.csdn.net/i042416/article/details/124458638