AEM Dialog | Adobe Higher Education
Skip to main content
May 10, 2022
Beantwortet

AEM Dialog

  • May 10, 2022
  • 2 Antworten
  • 1145 Ansichten

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. 

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antworten

arunpatidar
Community Advisor
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.

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.