Working with List View
List View is an out-of-the-box component that allows you to display items as a list or grid. This is a collection component like a table that is used to bind the array data provider to populate a collection of data.
In this section, we'll execute a use case where the data will be fetched from one of the external REST APIs and show the data in the List View component.
In order to execute this use case, a Service Connection is created using the REST endpoint (https://reqres.in/api/users/).
Important Note:
Refer to the Creating a Service Connection from an endpoint section in Chapter 5, Creating and Managing Service Connections, to know how to create Service Connections.
The following are the steps to use the List View component and populate it with external REST API data:
- Create a new page with the
main-list
page ID under thechapter8
web application. - Drag and drop the List View component on the page. Move to the Quick Start tab...