pp_01
7 years agoMentor
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 ...
- 7 years agoHi 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.