Modifying Page dialog in 6.1

Avatar

Avatar

B_Stockwell

Avatar

B_Stockwell

B_Stockwell

15-10-2015

I have a template that has a sling:resourceSupertype of wcm/foundation/components/page

I created a cq:dialog node below this, with a corresponding structure as the parent dialog, I have 3 tabs, Basic, Advanced and Contacts. When I open the dialog on the page, however, it displays a number of (but not all of) the tabs inherited form the parent page component: Basic, Advanced, Thumbnail, Cloud Services, Permissions, Contacts.

How do I get rid of Thumbnail, Cloud Services and Permissions?

View Entire Topic

Avatar

Avatar

Bruce_Lefebvre

Employee

Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
Employee

15-10-2015

You can get rid of the unwanted inherited tabs by including the following property on the `items` node that is a parent of the tabs:

sling:hideChildren="[permissions,cloudservices,thumbnail]"