cancel
Showing results for 
Search instead for 
Did you mean: 

Document Count in Document Library

mohan
Champ in-the-making
Champ in-the-making
Hi Friends,
i m very new to Alfersco ECM. I have few task to do in Alfersco. The first one is … i need to show the Number of Documents count next to the folder name in site for each folder else display 0 next to the folder name.
How can i do this and where n all need to change?

Kindly help me out in this.

Thanks,
Mohan Smiley Happy
3 REPLIES 3

sandermvdb
Champ in-the-making
Champ in-the-making
I have exactly the same question!
Is this possible with out-of-the-box functionality (4.1.2)? Or do I need to customize Alfresco? (and in which way?)

rjohnson
Star Contributor
Star Contributor
You will need to customise the document library display and that is a quite involved script. When it calls the AJAX to load the view you will have to change the script that is called to count the children of any item that is a folder and return that value in the JSON. You will then have to modify the display to show this new data. Note that the display has several "views" (detailed, summary, gallery etc and you will need to modify each one to show the information. Its not hard, but it is "involved".

sandermvdb
Champ in-the-making
Champ in-the-making
Thanks for your comment, I will try this asap!

PS: I don't think I can mark your post as useful because I did not start this thread…
edit: small typo