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

Limit the description field of Category Model to 180 Character max

Former Member
0 Likes
622

Hi Experts ,

I have one requirement to restrict the description filed of Category Model to 180 char max , So we use the OOTB code . There is dynamic size constraint is there , we have created like one below

INSERT_UPDATE SizeConstraint;descriptor(enclosingType(code),qualifier);id[unique=true,allownull=true];max[allownull=true];min[allownull=true];qualifier[allownull=true];severity(code,itemtype(code));target[allownull=true];type(code);constraintGroups(id);message[lang=de];message[lang=en] ;Category:description;CategoryDescriptionMaxSizeCoverageConstraint;180;5;description;ERROR:Severity;de.hybris.platform.category.model.CategoryModel;Category;productCoverageConstraintGroup

We have reload the engine Validation as well . After this when try to validate this things from backoffice - then it will not work , but this will work if we do it vai admincockpit and productcockpit . So is there any issue in backoffice specific to hybris 6.5

Please suggest if someone face same issue , and he has got some solution on it .

Thanks ,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Experts ,

Any suggestion on above query ?

Thanks , Itesh

Former Member
0 Likes

Any suggestion