cancel
Showing results for 
Search instead for 
Did you mean: 

How to find how many folders and documents are present in a site?

madhu_sudireddy
Champ on-the-rise
Champ on-the-rise

How to find how many folders and documents are present in a site?

Can someone please help with this?

11 REPLIES 11

Hi,

The result of document count using the webscript you have sent me is showing max 1000 counts only, is there any way to get the correct count(i.e more than 1000).

The sites with under 1000 document is showing correct count.

cesarista
World-Class Innovator
World-Class Innovator

Hi:

Just put in Alfresco Share Search. For documents:

SITE:"shortsitename" and TYPE:"cm:content"

For folders:

SITE:"shortsitename" and TYPE:"cm:folder"

The number of documents or folders is shown in the first page of the results of the search. You can use only TYPE: if you select SITE context in Alfresco Search or selecting site facet. 

You can use REST API too:

https://www.zylk.net/es/web-2-0/blog/-/blogs/listing-thousands-of-noderefs-with-alfresco-rest-api

Kind regards.

--C.