List
A list is a representation of data in bulleted points.
List Settings
When you use a list widget, in addition to the default settings of a widget, the following setting is available.
Setting | Description |
---|---|
Source | Identifies the source of the list values. You can specify one of the following types of sources:
|
Possible Uses
You can use a hard-coded list to display prerequisites to perform a task. You can use a dynamic list to display a list of asset IDs returned by a query.
Using a List
Suppose you want to display a list of features available in an application by dynamically fetching the list from an entity. To do so, perform the following steps:
- Create an entity named Features to store the list of features.
- Create a query to get the list of features from the entity.
- In the page designer, add a List widget.
- In the PAGE DATA section, add the query that you have created.
- In the LIST PROPERTIES section, in the Source box, select Dynamic.
- In the Value box that appears, select the query output that fetches the list of features.
- Save the application, and preview it.
The list of features stored in the entity appear in the application.