Hi Alfrescians,
I need to provide the textarea.ftl which can allow approx more than 8000 characters to be entered.
I have tried to increase the length by following but did not work.
<field id="bpm:comment" set="comment">
<control
template="/org/alfresco/components/form/controls/textarea.ftl">
<control-param name="maxLength">20480</control-param>
<control-param name="rows">40</control-param>
<control-param name="columns">80</control-param>
</control>
</field>
I have tried to change directly into the textarea.ftl but it also did not work.
Any clue..?
Thanks
Kintu
Solved! Go to Solution.
Thanks, Marco Tenti,
Actually, I was testing only on the bpm:comment field which is OOTB.
But when I tested on my custom field, it was working well with the same control-param.
So, this 4000 characters restriction is from somewhere through bpm:comment field.
Regards,
Kintu
By default, it allows 4000 characters only. I don't know from where does it get that limit of 4000 characters.
I think 4000 characters is the limit for indexing by solar
Thanks, Marco Tenti,
Actually, I was testing only on the bpm:comment field which is OOTB.
But when I tested on my custom field, it was working well with the same control-param.
So, this 4000 characters restriction is from somewhere through bpm:comment field.
Regards,
Kintu
Hi Kintu,
You can take the reference of https://docs.alfresco.com/5.2/concepts/repository-properties.html
system.workflow.comment.property.max.length=4000
Here 4000 character size defined.You can override this property to increase size.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.