HOWTO: Display Non-Folderish Documents (Files, Note, ...) in the Left Tree - JSF UI

This page is scheduled for review and update. Check back soon for updated content!

JSF UI Deprecation
This requires to have the JSF UI addon installed on your server that is deprecated since Nuxeo Platform LTS 2019.
Please refer to the Web UI documentation.

The left tree is built using a query that is ran recursively. One of the clauses of the query makes sure that only folderish documents are displayed (AND ecm:mixinType = 'Folderish'). The query is defined in the "tree_children" page provider. See below a sample override of this query without the "Folderish" clause. You can contribute to the "providers" extension using the XML Extensions feature.


  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"

    <coreQueryPageProvider name="tree_children">
      <property name="maxResults">PAGE_SIZE</property>
        SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isProxy = 0 AND
        ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      <sort column="dc:title" ascending="true" />

You can adapt this sample so as to filter anything you would like to see or not in the left tree.

a month ago GitHub Fix release date on deprecated addons
5 years ago Solen Guitter 7
5 years ago Manon Lumeau 6
5 years ago Solen Guitter 5
5 years ago Solen Guitter 4
6 years ago Solen Guitter 3
7 years ago Alain Escaffre 2
7 years ago Alain Escaffre 1
History: Created by Alain Escaffre

We'd love to hear your thoughts!

All fields required