cancel
Showing results for 
Search instead for 
Did you mean: 

Increase the character limit of textarea.ftl

kintu_barot
Star Collaborator
Star Collaborator

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

Regards,
Kintu
1 ACCEPTED ANSWER

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

ContCentric

Regards,
Kintu

View answer in original post

4 REPLIES 4

kintu_barot
Star Collaborator
Star Collaborator

By default, it allows 4000 characters only. I don't know from where does it get that limit of 4000 characters.

Regards,
Kintu

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

ContCentric

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.