Expand my Community achievements bar.

SOLVED

Modifying Page dialog in 6.1

Avatar

Level 5

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?

1 Accepted Solution

Avatar

Correct answer by
Employee

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]"

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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]"