cancel
Showing results for 
Search instead for 
Did you mean: 

How to import an own constraint (Java class)

roman
Champ in-the-making
Champ in-the-making
Hello,

I'm about to customize Alfresco.
The aim is to add some custom aspects which should be values in a
combobox.

This is easy defining own list constraints in the model.xml
The problem is this are fixed values…

I have an own class which is derived from the AbstractConstraint.

My question is how to deploy my constraint class??? :?:

I've downloaded the Alfresco SDK and looked at some examples,
but still don't know how.

:idea: I've already tried:
packaging as a jar file and including to the …/tomcat/webapps/alfresco/WEB-INF/lib folder

but doesn't work.

Does anybody have an advice?

best regards,

Roman
2 REPLIES 2

roman
Champ in-the-making
Champ in-the-making
i've found a solution

Hello roman,

How did u solve this problem