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).
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?
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.