I have a number of databases on a Domino Server (version 8.5) which I need to find the counts of:
- the number of documents in total per NSF
- the number of documents in the “All Documents” view per NSF
Is there any simple way of getting Domino Server 8.5 to display this?
Many thanks
Chris
You can get the number of documents per NSF by enabling the Domain Catalog task on one of your domain’s servers. That will create a domain catalog database (catalog.nsf) with information on all the databases in the domain. You can then create a custom view in that database to organize the databases by total documents, etc.
Unfortunately the cataloging process doesn’t track how many documents are in each view. Furthermore, there’s no guarantee each database even has an All Documents view. That view is part of many database design templates like Mail or Discussions, but it is really just a design element and not something fundamental to every notes database.
Here is some code you can run to fetch that information for you on a given server. Note, this code is pretty slow.
This will output a CSV file with the database name, and the counts you’re looking for, provided you run this with an account that has access to all the databases on your server.