3

Sitecore 8.1 Update-2 has introduced a new setting called AllowDuplicateItemNamesOnSameLevel

What is the usaged of this setting ?

1 Answer 1

5

In previous versions, Sitecore would not prevent editors from creating items with duplicate names under the same parent.

The item name is used in the path to resolve the Sitecore item (e.g. based on request URL). If multiple items with the same name exist, Sitecore will resolve one at random.

By setting the AllowDuplicateItemNamesOnSameLevel setting to false, Sitecore will prevent creation of items with dublicate names in the same level.

1
  • Note seen some bugs with this on 8.1, when installing a package via ship, ended up removing all versions of the items installed in the master database. Not good. Had to roll back databases. (packages contained the language items)
    – Ian
    Commented Oct 4, 2016 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.