0
votes

I have sharepoint 2010 site on intranet with document library. Document library has folder structure with sub folders. I need number documents in specific subfolder . I know that this field exists in document library but i don't know how i use them for specific subfolder in another list where this field will be displayed

1

1 Answers

0
votes

Where and how do you want to use the count? In code, display in a list?

In a list you can edit the view and just add the "Item Child Count" column to the view.

Several code solutions here: How to find item count in a SPFolder?

If using 2013: From code using the REST API see here: https://sharepoint.stackexchange.com/questions/145219/how-to-get-itemchildcount-of-documentset-folder-using-rest-api