Expand my Community achievements bar.

How to add or remove dynamic tabs using checkboxes in Touch ui Dialog ?

Avatar

Level 3

Hi All,

Is there a way to add tabs dynamically in touch ui dialog using check-boxes.

I referred this article http://adobeaemclub.com/toggle-fields-based-on-selection-in-granite-ui-dialogs/ but it is based on drop-down selection and it toggles within the same tab.

Following is the use-case for my requirement:

1) Open the dialog for the component.

2) Check value from the check boxes available on first tab:

  • A new tab will open up. Call it tab A, author it.

3) Check another value from the check boxes on the first tab:

  • Another tab will open up. Call it tab B, author it.

4) Save and close the dialog.

5) Reopen the dialog, both tab A and tab B were authored with main first tab.

6) When we uncheck the check box, it will remove/hide the respected tab form dialog.

Can we achieve this scenario ?

Please provide your suggestion and answers.

Thanks,

Arpit Bora

2 Replies

Avatar

Administrator

Hi 

I have never tried it, but logically it is possible.

Please have a look at these posts:- 

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Link:- http://stackoverflow.com/questions/30517787/aem-6-dynamic-tabs

 

I hope this will help you a bit. But please post the solution here once you get the exact answer for it.

~kautuk



Kautuk Sahni

Avatar

Administrator

Did it help you ?



Kautuk Sahni