title: Validating Sitecore Item name uniqueness
body: <p>For a sitecore project, I need to validate the uniqueness of item names (to avoid url overlap)</p>
  
  <p>It is possible to add the 'Duplicate name' Item validation rule to the item's template (to see these options, make sure 'show standard fields' is selected in the 'view' tab, in the content editor ribbon)</p>
  
  <p><img src="https://i.stack.imgur.com/RfxlS.jpg" alt="apply the duplicate name validation rule"></p>
  
  <p>However, the options available here are to add the validation rule to the</p>
  
  <ul>
  <li>Quick Action bar</li>
  <li>Validation Button</li>
  <li>Workflow Validation Rules</li>
  </ul>
  
  <p>Should I apply it as a workflow validation rule, and enable workflow (for all my content items)? That would work, but it seems like a lot of effort for the end user if they have to use workflow for something.</p>
  
  <p>What I want to achieve is to simply show a validation message when the user tries to save the item (and uses a name which is already taken). Basically in the same way field validators work in sitecore</p>
  
  <p>None of these choices seem to achieve this effect.</p>
  
  <p>So my question is, what is the easiest way to achieve this? </p>