cancel
Showing results for 
Search instead for 
Did you mean: 

Does Alfresco store 'Views' Count?

stevescott
Champ in-the-making
Champ in-the-making
Like is there a way to query a node to get the number of times it's been accessed?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
No.   Not out of the box since it would badly affect performance.  :!:

However there are examples here and elsewhere of people injecting code to update a property each time a content item is read.    In particular there is an OnContentRead policy that you can bind to.

stevescott
Champ in-the-making
Champ in-the-making
No.   Not out of the box since it would badly affect performance.  :!:

However there are examples here and elsewhere of people injecting code to update a property each time a content item is read.    In particular there is an OnContentRead policy that you can bind to.

Hey hey, that sounds promising…I want to be able to have this be an integer property that I can just ++ when my webscript is triggered (the script gets a reference to the node item)