Hye all,
i want to know and need help, my situation i want to show and clickable data from accordion. Inside accordion already have Department name, i want to add number of staff and when click number of staff it go to other page that show list of staff on particular department. Below implementation, show department inside accordion.
Thank you
I missed to add something in my OML.
If you add this, departments will be distinct.
Thanks,
Sudip
I don't understand the logic below, why you need to get data inside the Accordion on the click event, but if you want to show the staff list on another page you can use a redirect page and pass the relevant ID. Could you show a diagram for this situation? It would be simpler for me to help you.
Hi,
Try the below OML where I have added an extra attribute in Structure that is "StaffCount".
Along with that I have added Filter_StaffByGroupName and adding the Length of the filtered output in the ListAppend.
I am sharing the OML below.
Hi @Sudip Pal ,
Thanks @Sudip Pal for your help, now the staff no is appear. But for my situation i want to show like image below.
Hi @Sudip Pal
i added filter by staff department, the result as image below 0staff.
Update OML
Thanks for the oml. It appear number of staff. Im Adding this to into your share oml, because i want to show distinct department. so i only each group show 1 department. Need your expertise, is it correct what im doing as above image?
Thank you for your help.