While overlying a custom component how to hide the particular node(children)
Use below property
yeah thank you,
What if we want to hide the particular field.
what do you mean by field? could you please explain more with screenshot.
You have following options to hide field(resource / child nodes) and properties.
The resource merger provides the following properties:
While inheriting a custom component, if we dont want the particlular field(Example: Some Image Field is not neccessary but all other fields we need). Then how to hide that particular image field.
Are you using sling:resourceSuperType or overlay(copy nodes from libs to apps)?
If you are using overlay then just just add property sling:hideChildren = childnodepath
There is another way to show or hide field using granite:renderCondition