I want to use an accordion in my screen that create accordion items for the records it fetches in the aggregate. So at design time i do not know how many accordion items i will need.

A couple of years ago there was a question posted about a dynamic accordion byt it seems that the jquerygoodies are not to be used in outsystems 10.

And in outsystems 10 i do not see a addAccordionItem action or something like that. Maybe i can use the js_show from the webpatterns logic, but do i know the id i need?

So my question is basically, how do i implement a dynamic accordion where i can add items to an existing accordion at runtime and populate it with data from the aggregate list?

this seems to work so when using an aggregate i guess the dymanic accordion is simple to create