How to find the size of the folder in a site?
Please check this.It is used to add add size as folder metadata.
You need to fetch content of every node inside folder and calculate the size.This will be recursively calculated.Thumbnail is also children of content node, if you would like to ignore thumbnail , you need to explicitly put same condition in code.
This code is in below file in addon mentioned by Sanjay Bandhniya
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.