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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2014 06:02 AM
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2014 11:40 AM
You can simply add that aspect within your custom content type.
It will be readily avilable by alfresco
It will be readily avilable by alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2014 02:42 AM
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.
How to get these values? Is there any configuration in Java code as well? Or OOTB Audit module has covered this already?
Plz guide.
