Trying to install a package which has the item names with characters like
(', '.', ').
How can I temporarily disable
ItemNameValidation setting? Tried changing the setting to
'.*' which did not help.
Sitecore version - 9.1.1
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
Try the following patch:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <settings> <setting name="ItemNameValidation"> <patch:attribute name="value">^.*$</patch:attribute> </setting> </settings> </sitecore> </configuration>
The regex means that:
^ start of the string
.* It matches any character.
* Quantifier — Matches between zero and unlimited times, as many times as possible.
$ End of the string