cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual Navigation on parent with multiple children

François_
Champ in-the-making
Champ in-the-making

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

0 REPLIES 0