cancel
Showing results for 
Search instead for 
Did you mean: 

Store dynamic list for datamodel

gael_poffet
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

jayjayecl
Confirmed Champ
Confirmed Champ
Hi,

Alfresco 3 allows Dynamic Models.
You will then be able to change your models (and then your constraints) within the webclient, without having to restart Alfresco :

http://wiki.alfresco.com/wiki/Dynamic_Models

gael_poffet
Champ in-the-making
Champ in-the-making
Ok, thanks for the information, I will study that now…