Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

customize decoration tag in aem

Avatar

Level 1

HI All,

There is one requirement where we have to remove decoration tag except core component. 

Please give some input that how we can customize this thing in the sense that decoration tag only be added for core component not for other component.

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @mansaini 

 

If i understand correctly you want to remove decoration tag to all your components except core components. In that case you can just add cq:noDecoration property to your component and set it to true. This will not the decoration tag to that particular component.

 

Thanks

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @mansaini 

 

If i understand correctly you want to remove decoration tag to all your components except core components. In that case you can just add cq:noDecoration property to your component and set it to true. This will not the decoration tag to that particular component.

 

Thanks