# Get Relationship schema name

After adding **'Map My Relationships'** control, you will require 'Relationship Schema Name' to populate relationship fields.&#x20;

Here are the steps to get relationship schema names:

### Power Apps:

* Navigate to **make.powerapps.com --> Select the environment --> Tables -->Select Table**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F3kgFXdz9WVv4rLHd23lA%2Fimage.png?alt=media&#x26;token=19e31112-c100-41ab-accc-c81ae94456fe" alt=""><figcaption></figcaption></figure>

* Select **Relationships**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FJ5I1qYYh2wOeG8I9eE6k%2Fimage.png?alt=media&#x26;token=099b62f7-31be-44ae-a024-3325661ff81e" alt=""><figcaption></figcaption></figure>

* Open the relationship from the list and copy the **Schema name**.&#x20;

**One-to-Many**&#x20;

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FL0QctG8AD9MyNvfmUHhY%2Fimage.png?alt=media&#x26;token=6114ff31-af5f-417a-b9c9-a080985422a0" alt=""><figcaption></figcaption></figure>

**Many-to-One:**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FO5ru6tao2XQBYW2fCOtD%2Fimage.png?alt=media&#x26;token=7c91bcf4-49dc-402e-9794-03201674f605" alt=""><figcaption></figcaption></figure>

**Many-to-Many:** Let’s take an even more relevant example, a contact having a many-to-many relationship with invoices. For this, you will have to place the control on the ‘**Contact’** entity form. In this case, we are considering configuring the relationship control only for the ‘**Account**’ entity.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F9FvE5jpu9sZSTT1dT7TD%2Fimage.png?alt=media&#x26;token=ae8d90f7-f92a-42d2-99ad-d8ba5987f29d" alt=""><figcaption></figcaption></figure>

* Copy this name in comma-separated format in the properties of the Map My Relationships control.

### From Classic UI:

* Go to **Settings** --> **Customizations** --> **Customize the Entity** --> Select the **entity** from Entities component.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_CPkqjJAnG8_40kD%2F-M87_ISmbVEMPA0xxjKU%2FSch_1.png?alt=media\&token=0c4a4d8b-1ade-471a-8735-4e2d2567c5f4)

* Click on **1:N Relationships,** **N:1 Relationships** and **N:N Relationships** to get the list of relationships available in the system.&#x20;

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_CPkqjJAnG8_40kD%2F-M87_Mx0y4t0auuE_4Nx%2FSch_2.png?alt=media\&token=468b15f3-427b-41d6-ac4d-9aaa9273af48)

* Open the relationship from the list and copy the **Schema name**. &#x20;

![One-to-Many](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_CPkqjJAnG8_40kD%2F-M87_Sg-cjxV8w7028Dd%2FSch_3.png?alt=media\&token=51d628e1-6561-40e3-a7c5-ce2373af306f)

![Many-to-one](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_CPkqjJAnG8_40kD%2F-M87_aIa59Ss_WxDBQx_%2FSch_4.png?alt=media\&token=ae3a4a8c-5a57-41bb-8092-f56941dd4b03)

![Many-to-Many](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MQ1RTQmiTy89ypLZkZd%2F-MQ1SidOajz-p5FNhRRe%2FSchema_1.png?alt=media\&token=ebb6c051-9110-4179-9515-ba3f4146181f)

* Copy and paste this name in comma separated format in properties of the Map My Relationships control.

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}
