Jahia Template Forum > Limit the metadata...

0 (0 Good)
0 (0 Bad)

Limit the metadata description to 160 chars

by  pthornton »  2013/10/30 10:58

Hello,

Is there a way to limit the metadata description to 160 chars? I try to redefine the jcr:description in my cnd with no results:

[jmix:description] mixin
 itemtype = metadata
  - jcr:description (string,textarea) i18n itemtype = metadata < "^.{0,160}$"
 
Any help would be appreciated.
 
Peter

  (pthornton)

Number of messages  1
Registration date
0 (0 Good)
0 (0 Bad)

Re: Limit the metadata description to 160 chars

by  root »  2013/11/12 17:05

Hello,

this is a known issue of the current version of Jahia, you cannot redefine in your module the constraints for the nodetype.
 
Unfortunatly, until we fix the issue, either you change the definition directly in Jahia, either you create your new type for that purpose.
 
best regards
 
David 

  (root)

Number of messages  5
Registration date Aug 29, 2017
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page