Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

collapse and expand all button in multifield

Avatar

Level 3

Hi,

 

How we can handle Collapse and Expand all functionality in AEM 6.5 at dialog level. can some help me.

Please find the attached screenshot.

naveen_27_05_0-1655111358421.png

 

Thank in advance.

1 Accepted Solution

Avatar

Community Advisor

Hi,

The above article is created for 6.3 so probably with javascript code debug you can convert code to 6.5 compatible 



Arun Patidar
7 Replies

Avatar

Community Advisor

Hi,

Dialog supports the collapse and expand. So achieve on click you may need to write small javacsript

https://developer.adobe.com/experience-manager/reference-materials/6-5/granite-ui/api/jcr_root/libs/... 



Arun Patidar

Avatar

Community Advisor

Hi,

Are you trying this in 6.3? The above article is for 6.3 and only for multifield.



Arun Patidar

Avatar

Level 3

Hi, 

 

I am trying for 6.5 for multifield and nested multifield.

 

Thanks.

 

Avatar

Community Advisor

Hi,

The above article is created for 6.3 so probably with javascript code debug you can convert code to 6.5 compatible 



Arun Patidar

Avatar

Level 3

Hi Arun,

 

In 6.5 expand and collapse in multifield it should work automatically or we need to write the js for that because I have tried with the js that's not working. if possible can you please help me i am stuck with this.

 

Thanks.

Avatar

Community Advisor

Hi,

It does not work automatically, you need to write a script to achieve this.



Arun Patidar