As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
We are automatically creating a set of sub-folders each time a new folder is created at the document type level. We need a way to identify if a sub-folder is empty, either by auto tagging it or using a different icon, or by showing a 0 document count next to it. Is there a solution for it?
In Share, you can use an indicator with an evaluator and a customised icon.
Predefined evaluators | Alfresco Documentation
Document Library | Alfresco Documentation
Status Indicators in Alfresco Share | Arvixe Blog
Write a behavior that is bound to cm:folder (or your custom folder type, as appropriate). Have the behavior check to see if the folder contains children. Set the result of that on a custom property defined in an aspect (like cust:isEmpty or cust:hasChildren). Now use the links Angel provided to see how to show an indicator according to your new custom property. Voila.