Create a Composite Component (List with Rating)
- How to create a composite component
- How to add properties to your component
- How to bind internal properties to component properties
- How to use a container to organize your component
- How to install components from the Marketplace, and create duplicates to modify
Prerequisites
- You have set up SAP Build App and have entered the lobby.
This tutorial series lets you become proficient in SAP Build Apps in about an hour. Among other things, it will teach you:
- How to build your own composite components
- How to install components from the Marketplace
- How to use styling to modify the look and feel and the alignment of components
- How to connect to a backend through an SAP BTP destination
- How to connect to a OData backend with a URL
- How to create backend entities and functions with Visual Cloud Functions
- How to connect to those entities and functions from your front end
- How to bind component properties to your data
- How to create custom events
- How to reuse logic flows
This tutorial
This tutorial shows you how to mashup up 2 components into your own composite component.
The specific component you will build enables you to display business data as a list – products in this case – and to display a rating in the form of 5 stars. The component will have 2 new properties:
Rating, which will tell the component how many stars to highlight and will be displayed as a number with 1 decimal point.
RatingCount, which will tell the component how many ratings were received for this item, and will be displayed along the rating.
The component will look like this in design mode.

The component will look like this in runtime mode.
