Try our conversational search powered by Generative AI!

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

Vote:
 

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.

Thanks,

Varun

#200067
Dec 29, 2018 19:03
Vote:
 

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

#200071
Dec 30, 2018 10:40
Vote:
 

Hello,

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).

#200073
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.