Increase the character limit of textarea.ftl

cancel
Showing results for 
Search instead for 
Did you mean: 
kintu_barot
Senior Member

Increase the character limit of textarea.ftl

Jump to solution

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 Solution

Accepted Solutions
kintu_barot
Senior Member

Re: Increase the character limit of textarea.ftl

Jump 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

ContCentric

Regards,
Kintu

View solution in original post

4 Replies
kintu_barot
Senior Member

Re: Increase the character limit of textarea.ftl

Jump to solution

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

Regards,
Kintu
4535992
Senior Member

Re: Increase the character limit of textarea.ftl

Jump to solution

I think 4000 characters is the limit for indexing by solar

kintu_barot
Senior Member

Re: Increase the character limit of textarea.ftl

Jump 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

ContCentric

Regards,
Kintu
sanjaybandhniya
Intermediate

Re: Increase the character limit of textarea.ftl

Jump to solution

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.