<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dynamic property constraint in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-property-constraint/m-p/248423#M201553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quite new to Alfresco… here is my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two constraint of type "LIST", so 2 diferrent sets of vaues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to assign &lt;/SPAN&gt;&lt;STRONG&gt;one of these 2&lt;/STRONG&gt;&lt;SPAN&gt; constraints to a property. The choice of the constraint depends &lt;/SPAN&gt;&lt;STRONG&gt;of the value of an other property &lt;/STRONG&gt;&lt;SPAN&gt;in the same model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for example, I have two properties: DIRECTION and STATUS. If the value of DIRECTION =&amp;nbsp; "IN", the constraint A has to be assigned to STATUS. If DIRECTION = "OUT", the constraint B has to be assigned to status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I model this ? I thought about implementing a new custom constraint, but how do I pass the value of "DIRECTION" as paramater ? Someone spoke me about "rules" but I didn't find information about the relation of a rule and the content model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone can propose me a soluton…. cause I'm a little bit lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 06:16:59 GMT</pubDate>
    <dc:creator>cpepe</dc:creator>
    <dc:date>2011-10-06T06:16:59Z</dc:date>
    <item>
      <title>dynamic property constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-property-constraint/m-p/248423#M201553</link>
      <description>Hello,Quite new to Alfresco… here is my problem.I have two constraint of type "LIST", so 2 diferrent sets of vaues.I have to assign one of these 2 constraints to a property. The choice of the constraint depends of the value of an other property in the same model.So, for example, I have two propertie</description>
      <pubDate>Thu, 06 Oct 2011 06:16:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-property-constraint/m-p/248423#M201553</guid>
      <dc:creator>cpepe</dc:creator>
      <dc:date>2011-10-06T06:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic property constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-property-constraint/m-p/248424#M201554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So, for example, I have two properties: DIRECTION and STATUS. If the value of DIRECTION = "IN", the constraint A has to be assigned to STATUS. If DIRECTION = "OUT", the constraint B has to be assigned to status.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;You can't do this using the constraint supported by the content model of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest you to implement a behaviour to check each time this type of low level constraint:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Policy_Component#Binding_Behaviour_to_a_Policy" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Policy_Component#Binding_Behaviour_to_a_Policy&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 18:20:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-property-constraint/m-p/248424#M201554</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-10-27T18:20:23Z</dc:date>
    </item>
  </channel>
</rss>

