# Relationship Settings

## Add the Relationship Editor to a Table

You can add the Relationship Editor to any ServiceNow table as follows:

1. Launch the Application Navigator and filter for the class containing the target table.

!\[]\(../../images/8e74a19-YouDesign Command-rel\_editor\_si12.png)

2. Select the target table.
3. Right-click the top of the menu, hover over **Configure**, and then select **Form Layout**.

!\[]\(../../images/c2ac9c9-YouDesign Command-rel\_editor\_si13.png)

4. Scroll down to "YouDesign Command Create Relationship" and select the right chevron **(>)** to add it to the table's UI and configuration options.

!\[Image]\(../../images/d9481d5-YouDesign Command-rel\_editor\_si14.png)

5. Select **Save**.

## Launch Settings in the Relationship Editor

In the Relationship Editor, select the **cog icon** to open settings.

## Adjust Settings

In the settings menu, you can see groups already added.

You can block these groups from accessing the Relationship Editor or set them as the only groups that can access it by toggling the "Currently allowing all groups" button.

You can permit groups in the settings to create duplicate relationships by toggling the "Allow duplicate relationships" button.

!\[Image]\(../../images/894c917-YouDesign Command-rel\_editor\_si15.gif)

To apply any changes you have made to settings, select **Commit**.

## Add Groups

If you want to add more groups to the list in settings:

1. Choose a Base Class (required), Suggested Relationship (required), Dependent Class (required), Group (optional), and Relationship Field (optional).
2. Select **Save**.
3. Select **Commit** to apply any changes you have made.

{% hint style="warning" %}
**Blocked User Restrictions**

Any user in a blocked group (including ServiceNow administrators) **cannot** edit relationships in the YouDesign Command Relationship Editor.
{% endhint %}

{/\*

## Add relationship fields via cmdb\_rel\_ci table

You may want to add additional relationship fields to Settings in the Relationship Editor. You can add fields via the cmdb\_rel\_ci table as follows:

1. Access the ServiceNow app navigator and filter for System Definition.
2. Select **Tables**.
3. In the Labels search bar, search for *ci relationships*.
4. Select **ci relationship**.
5. Check that the Columns tab is selected and select **New**.
6. Add a Type for the new field, you can search for available types by selecting the magnifying glass icon.
7. Enter a label for the new field, a name will be generated automatically based on this label. You can change this name manually if required.
8. Select **Submit**.

The next time you launch the Relationship Editor, you can select the new field in the cmdb\_rel\_ci section of the settings menu.

\*/}


---

# 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.ins-pi.com/command/features/relationship-editor/relationship-editor-settings.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.
