Add a Relationship in a Relationship Modeling View

Add a Relationship

To add a new Relationship between 2 Model Objects, there are two possibilities:

  1. Add a Relationship from the Relationship overview (description in another article)
  2. Add a Relationship in a Relationship Modeling View (in this article): Access the Relationship Modeling overview page and display a View where the two concerned Model Objects are displayed:

Click on the plus icon for the target Model Object of the Relationship:

The target Model Object outline is now dotted, all the possible source Model Object outlines for a Relationship are now blue, and their plus icon is active:

The potential source Model Object we can use for a Relationship to a target Model Object depends on the Generator Configuration.

Here, we can add a Relationship from a Model Object of type Link to a Model Object of type Hub.

Click on the plus icon of the source Model object for the Relationship:

The new Relationship between the two objects were created:

A notification confirms the correct adding:

You can now map your Foreign Key(s) in the Term Mapping page by choosing the Manage Term Mappings menu in the Context menu for the target Model Object of the Relationship:

Demonstration video