# Using tailf:hidden in annotaio file

**URL:** https://dmap-community.ductus.global/t/using-tailf-hidden-in-annotaio-file/3070
**Category:** Other Northbound Interfaces
**Created:** [May 26, 2020, 6:56pm UTC](https://dmap-community.ductus.global/t/using-tailf-hidden-in-annotaio-file/3070 "2020-05-26T18:56:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nandakm](https://avatars.discourse-cdn.com/v4/letter/n/c0e974/32.png) [@nandakm](https://dmap-community.ductus.global/u/nandakm)
#### Post date: [May 26, 2020, 6:56pm UTC](https://dmap-community.ductus.global/t/using-tailf-hidden-in-annotaio-file/3070/1 "2020-05-26T18:56:38Z")

</div>

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 .

---

<div class="post-metadata">

### Author: ![nabil](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nabil](https://dmap-community.ductus.global/u/nabil)
#### Post date: [May 26, 2020, 7:44pm UTC](https://dmap-community.ductus.global/t/using-tailf-hidden-in-annotaio-file/3070/2 "2020-05-26T19:44:55Z")

</div>

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.
