442
Views
5
Comments
Solved
How to add list in accordion item content
Question

Hi ,

Can someone help me adding list inside accordion item content. 

I have added accordion inside a list , now I want to add another list inside accordion item content.



Test.oml
2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi Jahnavi, 

If i understood to you,mean when you expand list there is subList show based on Main list.

1. you have two entity one is mainList and second is subList and main id as a foreign key in sub.

2.create a webblock for sublist and use filter condition to get data based mainlist id

3.show this webblock in inside accordion item content and pass input parameter as mainlist id in WB.


Modify logic accrodingly in attached oml.


Hope this will help you 

Regards

Rahul Sahu

Test1.oml
UserImage.jpg
Rupa Radhika Jahnavi Sagi

Rahul Sahu wrote:

Hi Jahnavi, 

If i understood to you,mean when you expand list there is subList show based on Main list.

1. you have two entity one is mainList and second is subList and main id as a foreign key in sub.

2.create a webblock for sublist and use filter condition to get data based mainlist id

3.show this webblock in inside accordion item content and pass input parameter as mainlist id in WB.


Modify logic accrodingly in attached oml.


Hope this will help you 

Regards

Rahul Sahu

 

 Thank you Rahul Sahu, I have achieved my output.

2026-02-26 06-29-24
Rahul
 
MVP

Hi Jahnavi,

can you let us know what you want achive.

you can put another accordion item   and put a new list inside and bind with new aggregate.


Regards
Rahul Sahu

UserImage.jpg
Rupa Radhika Jahnavi Sagi

Rahul Sahu wrote:

Hi Jahnavi,

can you let us know what you want achive.

you can put another accordion item   and put a new list inside and bind with new aggregate.


Regards
Rahul Sahu

 

 Hi Rahul,

I  want to display sub-list onclick of main list. When I click on Design in first image, it should expand and show sub-items list.


2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi Jahnavi, 

If i understood to you,mean when you expand list there is subList show based on Main list.

1. you have two entity one is mainList and second is subList and main id as a foreign key in sub.

2.create a webblock for sublist and use filter condition to get data based mainlist id

3.show this webblock in inside accordion item content and pass input parameter as mainlist id in WB.


Modify logic accrodingly in attached oml.


Hope this will help you 

Regards

Rahul Sahu

Test1.oml
UserImage.jpg
Rupa Radhika Jahnavi Sagi

Rahul Sahu wrote:

Hi Jahnavi, 

If i understood to you,mean when you expand list there is subList show based on Main list.

1. you have two entity one is mainList and second is subList and main id as a foreign key in sub.

2.create a webblock for sublist and use filter condition to get data based mainlist id

3.show this webblock in inside accordion item content and pass input parameter as mainlist id in WB.


Modify logic accrodingly in attached oml.


Hope this will help you 

Regards

Rahul Sahu

 

 Thank you Rahul Sahu, I have achieved my output.

2026-02-26 06-29-24
Rahul
 
MVP

Welcome Jahnavi,

Glad to help you.


Regards

Rahul Sahu

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