The Tree Should Be Deploy Once ensures that the Item Deployment property for an item and/or its descendants is set to DeployOnce. The items to validate are defined in the Additional Properties field.

The default Additional Properties are:

  • /Sitecore/content
  • /Sitecore/media library

When specifying the items that should be checked it is possible to include or exclude the target item. For example give the following path:

/Sitecore/content

This will check the content item plus all descendant items. If a forward slash is added to the end of the path, e.g:

/Sitecore/content/

This will check just the descendant items of the content item but not the content item itself.

This validator will always check an entire tree of items, it you only need to check an individual item use validator TDSA002 - Item Should Be Deploy Once.