Hi, does anyone know if it's possible to enforce a property to be unique?
E.g, the user ID is unique for the CQ users, but the email address isn't. We would like to have both unique. Note that we do not want to use the email address as user ID.
You could do that by writing a listener that will enforce uniqueness. Unfortunetly you can define this during Node Type definition process
There is one example with vanity path here (Though it is not listner but concept is same)
Thanks for your reply. I was aware of using a listener but was hoping perhaps I overlooked something else (and easier) to enforce uniqueness on a property.