<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Folderish View with number of documents below in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318794#M5795</link>
    <description>&lt;P&gt;Hi Gregory&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 08:38:15 GMT</pubDate>
    <dc:creator>ElmarKnipp_</dc:creator>
    <dc:date>2022-11-23T08:38:15Z</dc:date>
    <item>
      <title>Folderish View with number of documents below</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318792#M5793</link>
      <description>&lt;P&gt;We have a document structure like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;|-- Customer_ABC  
| |-- Project_1  
| |-- Project_2  
| | |-- Real_Document_4711  
| | `-- Real_Document_4812  
| `-- Project_3  
|     `-- Real_Document_987654  
|-- Customer_DEFG  
`-- Customer_HI  
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Customer_X and Project_Y are Folders and Real_Document_123 are Files. Above is just an example, our structure is much more complex and has of course much more documents. But many folders are still empty and are waiting for real documents.&lt;/P&gt;
&lt;P&gt;If you are looking in the WebUI to Customer A, you see all its direct successors (Project 1 to 3). Is there a way to configure the view to have an indication, e.g. a number in brackets, if a folder has any documents from type File below on any level?&lt;/P&gt;
&lt;P&gt;I think of something like this; see the bracket behind the name with the number.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;|-- Customer_ABC (3)  
| |-- Project_1 (0)  
| |-- Project_2 (2)  
| | |-- Real_Document_4711  
| | `-- Real_Document_4812  
| `-- Project_3 (1)  
|     `-- Real_Document_987654  
|-- Customer_DEFG (0)  
`-- Customer_HI (0)  
  

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or is such a calculation to expensive with NXQL?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 12:13:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318792#M5793</guid>
      <dc:creator>ElmarKnipp_</dc:creator>
      <dc:date>2022-11-17T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Folderish View with number of documents below</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318793#M5794</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;That's a use case I've already encountered. For this scenario:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I've created an automation chain to calculate the number of children with a query. The value is added in a custom property (I don't like to edit the title)&lt;/LI&gt;
&lt;LI&gt;I've linked it to an event handler (each time a new content is added or removed from the folderish content&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;A better option would be to use the &lt;CODE&gt;children&lt;/CODE&gt; content enricher (https://doc.nuxeo.com/nxdoc/content-enrichers/) and make a count on it: all you would need is to edit your layout then.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 15:58:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318793#M5794</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2022-11-22T15:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Folderish View with number of documents below</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318794#M5795</link>
      <description>&lt;P&gt;Hi Gregory&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 08:38:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318794#M5795</guid>
      <dc:creator>ElmarKnipp_</dc:creator>
      <dc:date>2022-11-23T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Folderish View with number of documents below</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318795#M5796</link>
      <description>&lt;P&gt;After some thoughts I came to the conclusion that the first approach (adding a custom property) is not working.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 09:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/folderish-view-with-number-of-documents-below/m-p/318795#M5796</guid>
      <dc:creator>ElmarKnipp_</dc:creator>
      <dc:date>2023-02-28T09:57:13Z</dc:date>
    </item>
  </channel>
</rss>

