cancel
Showing results for 
Search instead for 
Did you mean: 

How to find out documents downloaded by site user?

acorona
Champ in-the-making
Champ in-the-making
I'm working on a custom web application which creates alfresco sites and uploads, downloads documents using webscripts. I have a requirement to create a simple report which shows downloads history. How can I get this information from Alfresco via webscripts (JavaScript).

Thanks
3 REPLIES 3

acorona
Champ in-the-making
Champ in-the-making
Do I need to add a custom aspect for this? to track downloads? or is there something already available in alfresco for this.
If I have to create a custom aspect, can any of you point me to a good example on how to do this from javascript based webscripts?

Thanks

mrogers
Star Contributor
Star Contributor
There's a policy available for content read but out of the box for performance reasons it does nothing.   You could add some code that stores your statistics somewhere such as an aspect.

You may also be able to use audit.

acorona
Champ in-the-making
Champ in-the-making
Thanks. I think adding an aspect is the way to go.