Is there a way to Identify empty sub folders in Document Repository?
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?
Re: Is there a way to Identify empty sub folders in Document Repository?
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.