It is very simple, to set a bigger limit, than 1024 characters, to a attribute which is from the type "d:text". You must modify the file custom-config-model.xml which you can find in folder ALFRESCO_HOME/tomcat/shared/classes/alfresco/web-extensions.
In the config from your node-type you must write something like in the following example:
<config evaluator="node-type" condition="your:model">
<forms>
<form>
<field-visibility>
...
<show id="your:attribute" />
...
</field-visibility>
<appearance>
...
<field id="your:attribute">
<control template="/org/alfresco/components/form/controls/textarea.ftl">
<control-param name="maxLength">40000</control-param>
</control>
</field>
...
</appearance>
</form>
</forms>
</config>
The fist thing you do with that code is:
- You show the attribute
- You make the textfield to a template which is called textarea (much better for a text or something)
- you set the maximal length of the attribute to 40.000 characters (which should be enough)
If you don't want the textfield as textarea delete the template attribute from the control section.
After this manipulation you can save strings with up to 40.000 characters in this attribute.
Hope I could help you!