05-24-2019 02:10 AM
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
05-27-2019 02:41 AM
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
05-24-2019 02:37 AM
By default, it allows 4000 characters only. I don't know from where does it get that limit of 4000 characters.
05-24-2019 09:01 AM
I think 4000 characters is the limit for indexing by solar
05-27-2019 02:41 AM
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
10-05-2019 01:06 PM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.