Nuxeo Platform User Documentation

HOWTO: Add New Relation Types

This page is scheduled for review and update. Check back soon for updated content!

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:

  1. Add a new vocabulary entry in the predicates vocabulary.
  2. Add a new entry in the inverse_predicates vocabulary, using the same ID as the entry in the predicates vocabulary.
    Your new relation type is immediately available.
4 days ago manonlumeau final review
4 years ago Solen Guitter 5 | ser doc reorganization: fix link to relation
5 years ago Thierry Martins 4
5 years ago Solen Guitter 3
5 years ago Solen Guitter 1
5 years ago Solen Guitter 2
History: Created by Solen Guitter

We'd love to hear your thoughts!

All fields required