We're trying to validate a Droptree field to only allow a certain template type be selected. We've found the /sitecore/system/Settings/Validation Rules/Field Rules/System/Linked Item Has Allowed Template
; the only field rule validator that is within Sitecore.Marketing.Taxonomy
, all others are within Sitecore.Kernel
:
Sitecore.Marketing.Taxonomy.Validators.LinkItemTemplateValidator,Sitecore.Marketing.Taxonomy
We've created a new validator that references the Type
above and set the Parameters
to several variations of the following with no luck:
IncludeTemplatesForSelection={5A0F5DE2-8209-438E-A281-F8E8479B9565}
IncludeTemplatesForSelection="{5A0F5DE2-8209-438E-A281-F8E8479B9565}"
IncludeTemplatesForSelection="Event"
IncludeTemplatesForSelection="/sitecore/templates/Event"
Has anyone had success with this validator? Any help would be much appreciated, thanks!