Condition on virtual navigation enablement

Hi guys !

I've used this page to disable the virtual navigation tabs from an xml extension like :

<extension target="org.nuxeo.ecm.webapp.directory.DirectoryTreeService"
  point="trees">
  <directoryTree name="bySubjectsNavigation" enabled="false"/>
  <directoryTree name="byCoverageNavigation" enabled="false" />
</extension>

<extension target="org.nuxeo.ecm.platform.virtualnavigation.NavTreeService"
  point="navigationTree">
  <navTree treeId="facetedSearch" enabled="false"/>
  <navTree treeId="TAG_CLOUD" enabled="false"/>
</extension>

Those two extensions removes all tabs from the left column except the default one.

Unfortunately I also need to enable them for some users or with a condition on the current workspace path…

Is there a way to do this ?

0 votes

0 answers

827 views

ANSWER