cancel
Showing results for 
Search instead for 
Did you mean: 

'.' at the end of folder name

spdaly01
Champ in-the-making
Champ in-the-making
We file a lot of documents by company name and users include periods at the end of abbreviations to incorporated or limited liability corporation.  For example, "Inc." and "L.L.C."  The contrains on cm:name doesn't allow this.  Can this be changed easily to allow trailing periods on cm:name???

Thanks,

Steve
1 REPLY 1

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
in the contentModel.xml you have
<constraints>
      <constraint name="cm:filename" type="REGEX">
         <parameter name="expression"><value><![CDATA[(.*[\"\*\\\>\<\?\/\:\|]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)]]></value></parameter>
         <parameter name="requiresMatch"><value>false</value></parameter>
      </constraint>
………………..
   </constraints>

so chaning the pattern you would change  how spaces could be named.
Hope it helps