AnsweredAssumed Answered

unique keys

Question asked by mzaranto on Oct 19, 2009
Hi, I'm trying to model a custom type (say MyType), which has some properties that I would like to consider as a unique key for that type of content.
Is there a native way to model this? I can make a property mandatory or optional, but how can I tell Alfresco that a set of properties is a key for that document, so that when I edit such properties I can't put values that are equal to the ones of another document of MyType?

I've already started doing a script that checks the other documents of MyType in the repository, but I would like to know if unique keys are already implemented in Alfresco…

Any help is appreciated.

Thanks,
Marco

Outcomes