Total Number of documents per user

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2010 06:32 AM
Hi folks, I'm working on an Alfresco project and our customer ask me to create a page where the administrator can see how many documents has been uploaded per user.
What's the best way to achieve that? I start looking at lucene query, but I discovers that it only returns max 1000 results… so if a user uploaded more documents, the information will be useless. Any idea? I can use a custom jsp inside Alfresco, a webscript, or something external that uses REST service… I haven't any restriction… I just need to do such reporting page.
Any clue?
Oh, I'm working on Alfresco CE 3.2r
What's the best way to achieve that? I start looking at lucene query, but I discovers that it only returns max 1000 results… so if a user uploaded more documents, the information will be useless. Any idea? I can use a custom jsp inside Alfresco, a webscript, or something external that uses REST service… I haven't any restriction… I just need to do such reporting page.
Any clue?
Oh, I'm working on Alfresco CE 3.2r
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 08:12 AM
Extends the "AddContentDialog" bean, in the finishImplement method increment the number of documents uploaded by the current user, you can either store that value by extending the user model, or simply storing the statistics in your database.
This way it will be alot faster than using Lucene for each and every user, which can be very time and ressources consuming.
This way it will be alot faster than using Lucene for each and every user, which can be very time and ressources consuming.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2010 09:09 AM
Thanks for your reply.
This could be a great advice in general… but doesn't fit for my situation, where the system is in production from almost a year. I need to know how many documents has been uploaded sine then.
There isn't a way to do a xpath query or something like that to retrieve that numbers?
This could be a great advice in general… but doesn't fit for my situation, where the system is in production from almost a year. I need to know how many documents has been uploaded sine then.

There isn't a way to do a xpath query or something like that to retrieve that numbers?
