Forum Discussion

pp_01's avatar
pp_01
Mentor
7 years ago

Removing OOTB Labels component from OOTB topic-message component.

Hi everyone,   On our Forum Topic Page, we have the OOTB topic-message component positioned in the main-content. I would like to know that if there's any way I can add any xml parameters to remove ...
  • him_varma's avatar
    7 years ago
    Hi pp_01,

    You can achieve your requirement by either removing the component or in case you want to do with parameter approach then yes you can pass XML parameter such as visibility="hide" and fetch the value of that parameter inside custom component using the following method :
    <#assign visibility = env.context.component.getParameter("visibility")!"" />
    After that wrap the labels component according to your condition in if tag.