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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.