cancel
Showing results for 
Search instead for 
Did you mean: 

How to use cm:countable aspect in custom-config.xml?

swati
Champ in-the-making
Champ in-the-making
Hi,
There is an aspect 'cm:countable' defined in contentModel.xml by Alfresco.
I want to use this aspect in my custom model.
What are the necessary steps involved?
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You can simply add that aspect within your custom content type.
It will be readily avilable by alfresco

swati
Champ in-the-making
Champ in-the-making
Thanks Mits. I have added that aspect in custom-cofig.xml and now I am able to see the Hits and Counter properties of Countable aspect under document properties but these are getting populated as null values in properties.
How to get these values? Is there any configuration in Java code as well? Or OOTB Audit module has covered this already?
Plz guide.