The Validations tab allows you turn on checks that TDS can perform on the project when it is built

Supported Validators:

  • Template Structure

Validates that templates have only a single Standard Value template, field sections and sections only contain fields.

  • Should be Deployed Once
  • Ensure that certain items are set to DeployOnce. The paths that the check will applied to can be configured in the Additional Propeties area.

  • Don't Sync Children
  • Ensure that specific items don’t have child synchronization set, this prevents the possible deletion of items. The paths that the check will applied to can be configured in the Additional Propeties area.

  • Ensure Parent Integrity
  • Validates that the structure of the TDS project matches what will be deployed to Sitecore.

  • Should use .user file
  • TDS properties for DEBUG configurations should typically be stored in the .user file.

  • Prevent item by path
  • Checks that items in the project are not found at or beneath the configured location.

      Validators:

      TDS contains the following set of validators out of the box:

      Fields:

      Enable Validations

      Turns on validation for this build configuration.

      Validation Settings File Path

      The path to the file containing the settings used by the validators.

      Validators

      The list of validators that can be activated.

      Action

      Determines if the selected validator should raise a build error or build warning.

      Additional Parameters

      Allows the setting of additional properties used by each validator, for example item path.