AnsweredAssumed Answered

Maximum and minimum length of cm:name,cm:title

Question asked by swemon on May 17, 2012
Latest reply on May 18, 2012 by afaust
I want to get the alfresco maximum and minimum length of default property such as cm:name, cm:title, cm:description, cm:modified and cm:modifier which are showed in Advanced Search page.

I know property constraint can be given using Content Model Constraints. But I don't find for default property.

Can anyone give me hints or explanation for that??

<config evaluator="model-type" condition="cm:content" replace="true">
         <!– Search form –>
         <form id="search">
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="mimetype" />
               <show id="cm:modified" />
               <show id="cm:modifier" />
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               <field id="cm:modifier" label-id="label.custom.modifier">
                     <control-param name="forceEditable">true</control-param>
               <field id="cm:modified" label-id="label.custom.modified">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />