SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Display Data from the Northwind Service

Learn how to display data in your SAPUI5 application and how to navigate between views.

Overview

You will learn

  • How to use a subgenerator to add an OData model to the SAPUI5 application.
  • How to navigate between SAPUI5 views.
  • How to configure UI5 Tooling middlewares.
Nico Schoenteich N Nico Schoenteich April 10, 2025
Created on August 18, 2021
Contributors

More from Nico Schoenteich

See all 11 tutorials by Nico Schoenteich →

Prerequisites

Prerequisites

Steps

Step 1 Rename "MainView" to "Products"

The easy-ui5 generator creates projects with UI5 applications that contain two views out of the box: The App.view.xml, which is the outer container of the application, and the MainView.view.xml, where you can start developing your application content right away. At this point, it makes sense to rename the MainView.view.xml to something more meaningful.

  1. Rename the file MainView.view.xml to Products.view.xml.
  2. In the Products.view.xml file, replace all references to MainView with Products.
  3. Rename the file MainView.controller.js to Products.controller.js.
  4. In the Products.controller.js file, replace all references to MainView with Products.
  5. In the manifest.json file, replace all references to MainView with Products.
Step 2 Add a list to the products view
+
Step 3 Add a data source
+
Step 4 Redirect traffic to the data source
+
Step 5 Display more product information on a detail page
+
Step 6 Add UI elements to the detail page
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Rename "MainView" to "Products" 2. Add a list to the products view 3. Add a data source 4. Redirect traffic to the data source 5. Display more product information on a detail page 6. Add UI elements to the detail page
Next