The relations displayed by default in the Nuxeo Platform use two vocabularies to provide the predicates:
- predicates: Provides the values of outgoing relations, which are also the values displayed in the drop down list when the user creates a new relation.
- inverse_predicates: Provides the incoming relation values.
The link between both vocabularies is done using the ID of the vocabulary entries: both must have the same ID.
To add a new relation type:
- Add a new vocabulary entry in the
predicates
vocabulary. - Add a new entry in the
inverse_predicates
vocabulary, using the same ID as the entry in thepredicates
vocabulary.
Related Documentation