how to display List Inside List in Moblie Application ?

i have two lists, in one list i am printing table1 s data and when i click on one entry of table1 i want to print next tables data which is depend on first tables foreign key 

Table 1 - workflow

id | Name

1 | Test1

2 | Test 2


Table - 2 stages

id |  Description | workflowid( Foreign Key)

1 |   step 1          |                1

2 |    step 2         |                1

3 |     step 3         |               2


how to display following result 


Test 1

         step 1

         step  2

Test 2

          step 3


Hi Swapnil,

The mentioned use-case can be implemented in multiple ways, I guess the most simplest way may is to use/introduce a Block inside the main List widget record

Steps to follow

1) Define a Block with an input parameter which is of Table1 Identifier type

2) Introduce a List widget in the Block UI canvas

3) Define an aggregate within the Block scope

Source: Table2 stages

Filter Condition: Table2 stages.workflowid = inputParameter

4) Map the Aggregate Output list to the List widget

Hope this helps you!

Kind regards,

Benijth Sam

Hi, friend.

The best way is using a block to the second table. This block will recieve the paramenter id to fetch data.

The you can use this block inside the other table to show how you want. I think you should use list records instead of table records.


Hi Swapnil,

Hope you're doing well.

I believe you want to achieve something like this:

I did a sample app for you just for your guidance and to serve as an example :)

You can check the Widget Tree just to see the used elements.

Please refer to attached OML file.

Hope that this helps you!

Kind regards,

Rui Barradas


Hi ,

You can use it common structure or use it below oml files.

i hope it will be useful for you.


Rahul Jain


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.