Overview
Compliance Kit module Unique Object Enforcement offers an easy solution to ensure objects in your vault are unique based on the defined metadata.
Solution
As an example, if you want to verify that there is only one instance of a document with a specific title and keywords, the following configuration can be used:
You can also define a custom error message for when the rule triggers, allowing you to provide clear information to the users as to why they cannot perform this action and what they should do to correct this. The scope can also be narrowed down with the additional metadata if the above example would be too broad.
