Try our conversational search powered by Generative AI!

Episerver categories max length (string)

Vote:
 

Hello guys,

anyone knows why the max string length of the Episerver categories is 50 characters, and if it's possible to raise that length?

https://i.imgur.com/iB4kF5P.png 

Regards,

Patrik

#188985
Mar 08, 2018 10:23
Vote:
 

I would say the reason is because it was not designed to hold URLs from the beginning, just a short identifier to be able to use from code instead of the primary key integer. wink My only idea to raise it is to edit the nvarchar length in tblCategory in the database, but you also have to create your own copy of the UI and remove the trimming of the length in the backend.

#188988
Mar 08, 2018 10:55
Vote:
 

You can also check this out if it's an option for you to replace the built-in category functionality:

https://github.com/geta/epicategories

#188989
Edited, Mar 08, 2018 10:57
Vote:
 

That's probably true! Although it wouldn't have costed anything NOT to trim the fields to 50 chars.

#188994
Mar 08, 2018 12:28
Vote:
 

Thanks Mattias, I'll check it out.

Regards, Patrik

#188995
Mar 08, 2018 12:29
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.