Is there a way to display the document count of a folder, inline in the list view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 04:39 PM
I am looking for a way to display the content count of files in a folder. I am surprised that this feature is not standard. I see that there was an addon that is now deprecated, called Nuxeo Document Count. Also, I see that Quota is used with JSF but it is also deprecated. It doesn’t seem like a great solution. I would like to see the file count of a folder listed under the 'Size' column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 08:23 AM
Hello,
The number of document is indicated on top of the document listing (see attachment).
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 12:13 PM
Thank you for your response. Yes, I am aware of the count at the top. What I am looking for is an inline file count in the list view. Most file systems under the file 'Size' column list the number of files within the folder or the size of the document. I am interested in seeing the file count of a folder before I open the folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 03:48 AM
There is a resultsCount
value return by the API call when listing the folder content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2021 04:16 PM
This is the code that I came up with. I put this in the Document/folder/view and it is displaying a zero value for each item in the list view. Any suggestions, on how to get the correct count, would be helpful.
