cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Model - Dynamic Constraints

agey
Champ in-the-making
Champ in-the-making
Hi all,

I created a custom model to display a set of content metadata . One such metadata is configured as a pick list and its values is defined using Constraints configuration. The problem is that these values are static and I want the values in the list are the result of a search, specifically the result of doing a search of the content of a space.

Is it possible to define a Constraints of type list whose values are the result of a search? Has anyone done something like this? How I would have to define the Constraints?

Thanks a lot in advance,
2 REPLIES 2

turchinc
Champ in-the-making
Champ in-the-making
Have you seen this article yet:

http://ecmarchitect.com/archives/2008/08/13/845

I think it does what you need:

Jean Barmash has published an example showing how to do dynamic list constraints for Alfresco properties.


Cheers
-chris

agey
Champ in-the-making
Champ in-the-making
Hi turchinc,

Ok, thank you very much for your reply. It´s what I need.