SaaS CMS has officially launched! Learn more now.

Class UriValidationOptions

Contains options for catalog URI validation.

Inheritance
System.Object
UriValidationOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog.Internal
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public class UriValidationOptions

Constructors

UriValidationOptions()

Declaration
public UriValidationOptions()

Properties

UseLessStrictEntryUriSegmentValidation

Gets the value of the episerver:commerce.UseLessStrictEntryUriSegmentValidation AppSetting, indicating whether validation of entry uri segments should be strict or not. Strict validation means uri segments must be globally unique (for the language) to make sure all hierarchical routes to entries will work despite any crosslinking that happens after the uri segment has been saved. With less strict validation, the uri segment will still be validated for uniqueness against sibling items, but since this happens at the time of saving, crosslinking items can create collissions in hierarchical routes.

Declaration
public bool UseLessStrictEntryUriSegmentValidation { get; set; }
Property Value
Type Description
System.Boolean

true to do less strict validation; false to ensure global uniqueness. The default is false.