cancel
Showing results for 
Search instead for 
Did you mean: 

Max length Property

fararjeh
Champ in-the-making
Champ in-the-making
Hello everyone!

In Alfresco workdesk when I create new record function all String or Number property take maxLength value 32 on added from  . Can I change this value ?

2 REPLIES 2

deko
Star Contributor
Star Contributor
Hi fararjeh,

This value is read from the FieldManager node in owbootstrap.xml:


        <FieldManager>

                <ClassName>com.wewebu.ow.server.app.OwStandardFieldManager</ClassName>

                <Version>4.1.1</Version>

                <TextAreaThreshold>255</TextAreaThreshold>
                <DefaultStringMaxSize>254</DefaultStringMaxSize>

If the DefaultStringMaxSize node is missing or cannot be read, the default value is hardcoded to 32:

m_defMaxStringSize = getConfigNode().getSafeIntegerValue(MAX_STRING_SIZE_CONFIG_NODE, 32);


Hope this made things clearer for you.

Best regards,
Dennis

fararjeh
Champ in-the-making
Champ in-the-making
Thank you Smiley Happy