Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

How to use Northwind OData service with SAP River RDE

$
0
0

I've received several requests about how to use the public Northwind OData service located at the address http://services.odata.org/V3/northwind/northwind.svc with SAP River RDE. I'm going to explain in this post how to do it.

 

I will go through the following steps:

 

  1. Download the metadata file
  2. Configure the destination
  3. Create the application
  4. Change the Component.js file
  5. Change the neo-app.json file
  6. Run the application

 

Let's go!

 

  1. First of all you need to download the metadata file from the Northwind service. You can do it by using Chrome and activating the inspector:
    1. Open Chrome
    2. Activate the inspector
    3. Navigate to the link http://services.odata.org/V3/northwind/northwind.svc/$metadata
    4. Switch back to the inspector, click on the Resources tab, right click on the $metadata file from the Frames --> ($metadata) --> $metadata branch and select Save as...ss01.jpg
    5. Save the file where you want for later use at step 3
  2. Configure the destination by going to your account.hanatrial.ondemand.com cockpit and creating a new destination in the following way:ss02.jpg
  3. Create a new application in SAP River RDE by using one of the templates which require data connection. In this example we are going to create a SAP Fiori Starter App. In the Data Connection section, click Browse button and select the metadata.xml you saved in step 1 and click on Next. Fill-up the template customization section and finish the rest of the wizard. Now the project is created.
  4. Change the Component.js file: open the Component.js file, edit it in the following way and save the file.ss03.jpg
  5. Change the neo-app.json file: edit the neo-app.json file by adding the following piece at the beginning of the file just after the opening of the routes section and save the file. ss04.jpg
  6. Finally you can run the application

 

You have successfully connected your SAP River RDE environment with the Northwind OData service.


Viewing all articles
Browse latest Browse all 789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>