How to create two levels Group List Applet


Release or Environment

New York or above.

Instructions

Group List Applet

Below is the documentation about how to create a Group List Applet.

config-grouped-list

To simplify the steps, a Group List Applet consists of the following components.

The Navigation Function Instance is created on the Main Item of the Group List Applet.

The Navigation Function redirects from the Group List Applet to the List Applet.

Meanwhile, it brings the value of the selected Group to the UI Parameter of List Applet via "Redirection destination fields".
Destination UI Parameter: UI Parameter of the List Applet
Type: Field
Source field: The Group by field


Two Levels Group List Applet

For two levels of Group List Applet, the List Applets has two UI Parameters.

One is from the first level Group List Applet. The other is from the second level Group List Applet.

There is one UI Parameter in the second level Group List Applet to receive the value of the selected Group from the first level Group List Applet.

The value of the second-level selected Group is passed to the List Applet via the "Redirection destination fields" of the second-level Navigation Function like one level Group List Applet.

Below are the steps of how to bring the value of the first-level selected Group to the List Applet via the second-level Group List Applet.

1. Add a UI Parameter for the second-level Navigation Function.
Carried needs to be set to true. It means this UI Parameter is carried from a screen(First level Group List Screen) to another screen(Second level Group List Screen).

2. Map the UI Parameter to the Destination UI Parameter via "Redirection destination fields" in the second level Navigation Function.
Destination UI Parameter: UI Parameter of the List Applet for the first level selected Group
Type: Source UI Parameter
Source UI Parameter: UI Parameter created in step 1

3. Set up a "Function Instance carried param mapping" on the second level Navigation Function Instance to pass the first level selected Group which is the value of the UI Parameter of the second Group List Applet.
Function UI parameter: The UI Parameter created in step 1
Screen UI parameter: The UI Parameter of the second Group List Applet