<?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 Re: How to make dynamic metadata property based on value in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-dynamic-metadata-property-based-on-value/m-p/279525#M232655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done something similar in Explorer some time ago. In my case, changing the content of a document had to depend on its status (modification was only possible in draft status).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My solution uses Dynamic Authority and custom permissions definition. It works well but I had to change a lot of things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, perhaps the best way is to use a Java based constraint. I've never used that so i don't know if the list of allowed value can depend on the node you want to change the property on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are some links that can help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://wiki.alfresco.com/wiki/Content_Model_Constraints" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Content_Model_Constraints&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/repository-services/custom-constraint-03262008-1636" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/repository-services/custom-constraint-03262008-1636&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 08:31:05 GMT</pubDate>
    <dc:creator>mlagneaux</dc:creator>
    <dc:date>2014-03-28T08:31:05Z</dc:date>
    <item>
      <title>How to make dynamic metadata property based on value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-dynamic-metadata-property-based-on-value/m-p/279524#M232654</link>
      <description>I am working on a custom content model that has a property of document status. The allowed values are Pending, approved, paid, exported. When a document is uploaded the document is automatically marked as pending and the user can mark it as approved. There is a script that runs nightly that will exp</description>
      <pubDate>Thu, 27 Mar 2014 22:10:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-dynamic-metadata-property-based-on-value/m-p/279524#M232654</guid>
      <dc:creator>craig_michael_n</dc:creator>
      <dc:date>2014-03-27T22:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make dynamic metadata property based on value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-dynamic-metadata-property-based-on-value/m-p/279525#M232655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done something similar in Explorer some time ago. In my case, changing the content of a document had to depend on its status (modification was only possible in draft status).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My solution uses Dynamic Authority and custom permissions definition. It works well but I had to change a lot of things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, perhaps the best way is to use a Java based constraint. I've never used that so i don't know if the list of allowed value can depend on the node you want to change the property on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are some links that can help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://wiki.alfresco.com/wiki/Content_Model_Constraints" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Content_Model_Constraints&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/repository-services/custom-constraint-03262008-1636" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/repository-services/custom-constraint-03262008-1636&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 08:31:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-dynamic-metadata-property-based-on-value/m-p/279525#M232655</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2014-03-28T08:31:05Z</dc:date>
    </item>
  </channel>
</rss>

