cancel
Showing results for 
Search instead for 
Did you mean: 

Cna we restrict the # of characters of d:text property?

sepgs2004
Star Contributor
Star Contributor
Shall we restrict the d:text property to a maximum no. of characters?
Or should we do this with constraints?

Appreciate any clues?

Gnanasekaran Sakthivel
1 REPLY 1

sepgs2004
Star Contributor
Star Contributor
I think this is a pretty simple question. A good search online could fetch the information. Since I am new to alfresco, I might ask some questions like this. Hopefully soon, I will be ok.


<property name="ns:objectname">
  <title>Document Name</title>
  <type>d:text</type>
  <constraints>
    <constraint type="LENGTH">
      <parameter name="maxLength">
        <value>255</value>
      </parameter>
    </constraint>
  </constraints>
</property>

Gnanasekaran Sakthivel