cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Charcter Limit in Smartedit

0 Kudos
570

Hi All,

We are using Hybris 2211 and we need to put character limit for 1 of the Custom String based attribute linkName for 30 characters in smartedit.

What would be the best way to limit the character length in smart edit for content contributors.
Screenshot 2025-06-24 at 2.15.27 PM.png
Thanks

View Entire Topic
balaji_k1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Samrat,

As far as I’m aware, there is no out-of-the-box solution for this. The customer will need to implement some custom development by adding a length check within the verifyNameField method of the DefaultCMSLinkComponentValidator class de.hybris.platform.cmsfacades.cmsitems.validator.DefaultCMSLinkComponentValidator

 

Kind Regards