03-22-2019 10:02 AM
Hello,
I have a parent vocabulary with several children, and i want to add this vocabularies to the virtual navigation tree.
I created the extension point :
<extension target="org.nuxeo.ecm.webapp.directory.DirectoryTreeService" point="trees">
<directoryTree name="byDoctypeNavigation" label="label.contentViews.byDoctypeContentView.title" contentView="byDoctypeContentView" field="vnav_doctype" schema="infotel_labo_schema" outcome="doctype_virtual_navigation" enabled="true">
<directory>parent_doctype</directory>
<directory>child1_doctype</directory>
<directory>child2_doctype</directory>
</directoryTree>
<!-- Disable by Coverage and by Subjects Virtual Navigations -->
<directoryTree name="bySubjectsNavigation" enabled="false" />
<directoryTree name="byCoverageNavigation" enabled="false" />
</extension>
child1_doctype and child2_doctype are both the children of parent_doctype. Unfortunatelly only parent_doctype and child1_doctype appears in my navigation tree.
What is the problem ? Can you see my error ?
Thanks,
François
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.