November Happy Hour will be moved to Thursday December 5th.

Length of VisitorGroup name

Vote:
 

Hello! We have a ScheduledJob that are importing stuff and creating VisitorGroups from these. The VisitorGroup's Name property has a max-limit of 50 characters. Some of the imported stuff has names that are longer than this, but they are imported correctly anyway.

But if we try to add a new VisitorGroup, or change one of the imported ones, with a name longer than 50 characters it doesn't work. Is there anyway to change the max-limit of this Name property to accept longer strings than 50 characters?

#132725
Aug 18, 2015 10:41
Vote:
 

Hi,

You can't do that easily without replacing half of the built-in infrastructure classes that are responsible for VisitorGroup persistance.

Take a look at:

EPiServer.Personalization.VisitorGroups.VisitorGroupValidation.ValidateNameNotLongerThan50Characters()
#132929
Aug 20, 2015 23:56
* 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.