I want to use the display name to generate my URLs. That works so far, but I need to be sure, that the names have no vowels in it and so on. So I want to create a custom regex Validation rule that I can apply to the display name.
I need to create my custom Regex Validation rule in the following path
/sitecore/system/Settings/Validation Rules/Field Rules/Project/Common/Is Valid Display name
would this be the right naming or how are the helix rules here? I've a common project or should I create a custom feature for those validation rules?
I also would add this Item path to my unicorn sync items for the common module
I need to apply the Validation rule to the
__Display namefield under
and add this
/sitecore/templates/System/Templates/Sections/Appearance/Appearance path to my unicorn sync items. Is this the right approach or could this be a problem when I later try to upgrade my Sitecore to a newer version? What should be the right way with Helix in Mind?
- I've found an alternate version, to just fill in the "Validation" and Validation Text" in the
__Display nameItem. So I don't need to create a custom Validator but I still need to sync this item with a unicorn - perhaps this is also a valid solution?