How to allow dots(.) in Sitecore Item names – 7

Go to Web.config file and find a setting named “ItemNameValidation” and change the validation to allow dots. 
      <!–  ITEM NAME VALIDATION
            Regular expression for validating item names   –>
      <setting name=ItemNameValidation value=^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$ />
Modified Regular Expression.
      <setting name=ItemNameValidation value=^[\w\*\$][\w\.\s\-\$]*(\(\d{1,}\)){0,1}$ /> 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website at WordPress.com
Get started
%d bloggers like this: