cancel
Showing results for 
Search instead for 
Did you mean: 

running customAspect sample

p_ch_
Champ in-the-making
Champ in-the-making
Hello,

I try to run some samples from the sdk 2.0 on alfresco 2.0.a preview version but I can't do it.

I compiled SDK CustomAspect project into a custom-aspect.jar single file. Then I copied that file into \tomcat\webapps\alfresco\WEB-INF\lib.

And what now?
2 REPLIES 2

jenglert
Champ in-the-making
Champ in-the-making
Where is the customAspect sample located?

Thanks in advance.


Jim

davidc
Star Contributor
Star Contributor
Within the SDK project, there's a ContentHitsAspectTest.java which demonstrates the aspect.

There isn't any Web Client configuration currently included the sample - if there was it would allow a rule to be defined which applies the Content Hits aspect and a property sheet extension which allows the properties of the aspect to be viewed.  We should include this in a future release.

In the meantime, you can refer to:

http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Aspects_to_the_Run_Action_.26_Create_Rule...
http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata