Using tailf:hidden in annotaio file

hi there ,
i would like to annotate a certain container and its children to hide from the both NETCONF and CLI interfaces for certain makefiles.

If the container is hidden using
tailf:hidden in the source yang file , can i override using the
tailf:hidden full in the annotation file ans use it in certain make files only ?

Somehow its not taking effect .

It looks like the problem here is, at compilation time, you want to decide whether to hide a node from all interfaces, or from CLI and WebUI only. This can be achieved using “if-feature” statements.

Or, you can have different annotation files, each one with a different “tailf:hidden” statement. This will then introduce different versions of the annotation file to maintain.

The “if-feature” statement, in this case, is more attractive in my opinion.