UI5 – Binding external oData

In this example we are going to use the Northwind example.
https://services.odata.org/V3/Northwind/Northwind.svc/

Access your SAP cloud trial account:
https://cockpit.hanatrial.ondemand.com/cockpit/#/home/trial
and open Neo Trial.

Creating the destination in the SCP:

Test the connection:

Creation of the data source in the Manifest.json:

Data Source section
Model section


Listing the data in view xml file. It was used List Object (https://openui5.hana.ondemand.com/#/api/sap.m.List)

How to Read EntitySets:

path:’modelNorthWind>/Products’
{modelNorthWind>ProductName}

Result:





Leave a Reply

Your email address will not be published. Required fields are marked *