customize decoration tag in aem | Community
Skip to main content
New Participant
February 3, 2022
Solved

customize decoration tag in aem

  • February 3, 2022
  • 1 reply
  • 802 views

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.

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 JeevanRaj

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

1 reply

JeevanRaj
JeevanRajAccepted solution
New Participant
February 3, 2022

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