AnsweredAssumed Answered

Store dynamic list for datamodel

Question asked by gael.poffet on Apr 16, 2009
Latest reply on Apr 17, 2009 by gael.poffet
Hi,
I have create my own datamodel with differents types and some constraints. The constraints I use are for exemple a list of projects. To do that I have created a constraint like that:


<constraint name="idl:projectList" type="LIST">
      <parameter name="allowedValues">
         <list>
            <value>Project1</value>
            <value>Project2</value>
            <value>Project3</value>
            <value>Project4</value>
         </list>
      </parameter>
   </constraint>

It works fine, but the big problem is that it is completely static and if we need to add a new project we need to change the model.
Now I would like to know what is the best way to change that to be able to update the project list in the alfresco web interface for example.

I'm sure this question has already been answered a lot of times so your experience would really be appraciated.

Thanks in advance for help

Outcomes