I am using sitecore 9.1 initial release and i created an item and gave the item name above 100 characters but sitecore is not accepting the item name more that 100 charaters , so in the sitecore.config file i change the <setting name="MaxItemNameLength" value="100" />
to 200 , 256 and even 1000 , but still item name is not accepting more that 100 characters . I checked the showconfig also , and the values are reflecting there also .
1 Answer
From what I know when you try to use item name which is longer than MaxItemNameLength
setting, e.g.:
<setting name="MaxItemNameLength" value="100" />
The message that is shown is
The length of the value is too long.
Please specify a value of less than 100 characters.
The message which you see:
'Your name' is not a valid name.
is displayed when the item name you're trying to use doesn't match the regex specified in the ItemNameValidation
setting, e.g.
<setting name="ItemNameValidation" value="^\\w[\\w\\s]*$" />
Check that setting in your showconfig.aspx
and make sure the new name matches the regex.
battle against Trump's administration