AEM Dialog | Community
Skip to main content
May 10, 2022
Solved

AEM Dialog

  • May 10, 2022
  • 2 replies
  • 1136 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.TabView.html

 

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 10, 2022

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.TabView.html

 

Arun Patidar
milind_bachani
Adobe Employee
Adobe Employee
May 11, 2022

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.html?lang=en

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

Thanks.

Manali21Author
May 11, 2022

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.