After you have seen this HowTo video or read this article you will know how model relations are created and how you can connect certain data to other data in your application.

  1. Go to the Datamodel by clicking on the Datamodel tab on the Builder Bar.

  2. Hover over the model which you would like to connect with another model.

  3. When hovering over the sides of that model an arrow will appear on that side. Drag and drop the arrow to another model.

  4. The model relation settings will appear. In this modal, you can select which of the 3 relation types you want to use on your model. More about relation types can be found here: What are the three relation types?

  5. Click on the Save button of the relation type that you want to use and the relation will be created.

Relations can also be created via the model settings:

  1. Go to the Datamodel by clicking on the Datamodel tab on the Builder Bar.

  2. Click on a model, the model settings will slide in from the right side of the screen.

  3. Click on the subview Relations within the model settings.

  4. Create a new relation for that model by clicking on the New button on the left side of the header.

  5. The relation form will appear. Within this form, you can enter which type of relation you want to use, which model you want to connect with and the name and label for your relation.

  6. Click on the Save button on the top right of the screen and your relation will be created.

Every model relation is shown in both models. Example: If you’ve created a relation that one Customer holds multiple Invoices, you will now see Customer in the Invoice model and Invoices in the Customer model. 

Did this answer your question?