# Relation

## Overview

Each item represents a relation created in the active solution.

## Properties Summary

See [Relation](/reference/servoycore/object-model/solution/relation.md#property-summary) for properties that can be set on a **Relation** from Properties View.

## Commands Summary

A summary of commands available on this item via right-click context menu:

| Command                                         | Summary                                                                                    |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [Open relation](#open-relation)                 | Opens the [Relation Editor](/reference/servoy-developer/object-editors/relation-editor.md) |
| [Search for References](#search-for-references) | Searches all references in your active solution                                            |
| [Create relation](#create-relation)             | Opens the [Relation Editor](/reference/servoy-developer/object-editors/relation-editor.md) |
| [Duplicate relation](#duplicate-relation)       | Creates a (deep) copy of the relation                                                      |
| [Delete relation](#delete-relation)             | Deletes relation from workspace                                                            |

## Commands Details

The details for each command available on this item via right-click context menu:

### Open relation

Opens the [Relation Editor](/reference/servoy-developer/object-editors/relation-editor.md) in order to view or update the relation.

### Search for References

Searches all references of the relation in your active solution.

### Create relation

Opens the [Relation Editor](/reference/servoy-developer/object-editors/relation-editor.md) in order to create a new relation.

### Duplicate relation

Creates a (deep) copy of the relation. You can choose the new relation name.

### Delete relation

Deletes the relation from workspace.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.servoy.com/reference/servoy-developer/solution-explorer/all-solutions/active-solution/relations/relation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
