cancel
Showing results for 
Search instead for 
Did you mean: 

display file download count

junminya
Champ on-the-rise
Champ on-the-rise
Hi,

I'm using Alfresco Share ver 4.2.c.

I wanna display download count near by each of file, in Repository page.

Please show attachement file
6 REPLIES 6

mitpatoliya
Star Collaborator
Star Collaborator
U need to keep use behaviur and policies fr that
Explore the Custom aspect example of Alfresco SDK

thank you for your answer.

  Does it means that we need customize java source by Alfresco SDK?
  Is there way without custmizing source?

  i dont wanna custmize source..

thank you .

mitpatoliya
Star Collaborator
Star Collaborator
We need to do it by java only.
we are not changing the core implementation we are just extending it using that SDK example.

Key idea is we need to catch the event which occurs during download action happen.In this example we are invoking our piece of code whenever download API is called from core services.
If you find other way to capture that even you can simple maintain one property which will be incremented each time download action happen.

Thank you, mitpatoliya.

I understand we don't need to change core java source to display download count.

kevinchen
Champ in-the-making
Champ in-the-making

do you resolve this problem,which behavior do you use 

Key idea is we need to catch the event which occurs during download action happen.In this example we are invoking our piece of code whenever download API is called from core services.

i don't know how to do ,could you give me the source code