Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Dialog

Avatar

Level 1

How to create dialog box for dynamically addition of tabs (for n number of tabs) ?

As per requirement, if an author wants to add n number of tabs dynamically in dialog box then n number of tabs should get display in dialog box. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You need to write javascript(dialog authroing or extraClientLib) in order to create tab dynamically - 

https://developer.adobe.com/experience-manager/reference-materials/6-4/coral-ui/coralui3/Coral.TabVi...

 



Arun Patidar

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi,

You need to write javascript(dialog authroing or extraClientLib) in order to create tab dynamically - 

https://developer.adobe.com/experience-manager/reference-materials/6-4/coral-ui/coralui3/Coral.TabVi...

 



Arun Patidar

Avatar

Employee Advisor

Hi @Manali21 ,

 

1. I am not sure if I understood right, correct me if I am wrong :
You want a dialog(cq:dialog) which is dynamic in nature and a author can update the cq:dialog tabs ?

What's the use case here ?

2. If you are referring to the tabs component , we already have core tabs component : https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/tabs.htm...

Is your ask exactly like my #1 ? The title of question is misleading.

Thanks.

Avatar

Level 1

Yes, I want a dialog(cq:dialog) which is dynamic in nature and a author can update the tabs of dialog box as per requirement (if author wants randomly 'n' tabs in dialog box then it should be display that n tabs).

 

Thanks.