cq-dialog add tabs dynamically | Community
Skip to main content
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 DPrakashRaj

Yes, In Touch UI , there is resourceType "granite/ui/components/foundation/include" which is equivalent of cq include of classic UI.

create node in aem that needs to be included in each dialog and include it on all components and you can use sling:order before to align it after some tab in your component.

 

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/sling-resource-merger.html?lang=en

Same as classic UI , there is path property whose value is equal to the path which you want to reuse. For ex: you want to reuse the dialog part "/apps/myproject/components/component1/content/items/tabs/items/advanced" then this is the value to be used for path property.

Hope this helps!

3 replies

Tanika02
July 7, 2023
DPrakashRaj
Community Advisor
DPrakashRajCommunity AdvisorAccepted solution
Community Advisor
July 7, 2023

Yes, In Touch UI , there is resourceType "granite/ui/components/foundation/include" which is equivalent of cq include of classic UI.

create node in aem that needs to be included in each dialog and include it on all components and you can use sling:order before to align it after some tab in your component.

 

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/sling-resource-merger.html?lang=en

Same as classic UI , there is path property whose value is equal to the path which you want to reuse. For ex: you want to reuse the dialog part "/apps/myproject/components/component1/content/items/tabs/items/advanced" then this is the value to be used for path property.

Hope this helps!

aanchal-sikka
Community Advisor
Community Advisor
July 9, 2023

Hello @mario97 

 

Requesting you to please more details about the requirement.

Aanchal Sikka