SaaS CMS has officially launched! Learn more now.

Extending the Max Length of Name and DisplayName of Products in Commerce


We are trying to extend maxlength of properties like Name and Display Name beyond its default value 100.I have tried to override the Name property and increasing the max length value  in  my custom Product model but no luck.can any one help me fixing this issue.



Dec 29, 2018 19:03

It is not possible to change the max length for Name. I don't remember if we have any limitation on DisplayName but it should not be limited by 100 characters.

Note that Name is more of an internal field for editors so you might not want it to be that long

Dec 30, 2018 10:40


Quan Mai's answer is right. You cannot change the max length for Name because the column Name in Catalog Entry table is nvarchar(100)

About DisplayName, I am using Episerver Commerce 11.6 then this field should not be limited by 100 characters, this field in the database is stored by LongString column - nvarchar(max).

Dec 31, 2018 5:05
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.