Defining Relationships

You can view details of the instructions to create a relationship between entities.

Step 1: Define the properties of the relationship in the relationTypes collection in the configuration file:

Step 2: Define an attribute of type "Reference" in the target entity for the relationship.

Note: Relationships are directional. They have a start object and an end object, and they may be displayed either in the profile facet or a relationship facet. There are several options for displaying relationship data:
  • Reference attribute defined in Profile Facet: the relationship attributes may be viewed in the profile facet, no need for a relationship facet.

  • Reference attribute defined in Relationship Facet: the relationship attributes cannot be viewed in the relationship facet, no need to define the attribute in the profile facet, the relationship labelPattern is displayed.