# Set parameters to bind Relationships

After acquiring **'Relationship Schema Names',** you are now ready to set parameters to bind Relationships.

Here are the steps for the same:

### From Power Apps:

* Click on **'Map My Relationships' text field --> Go to Component --> Select Map My Relationships component.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FG2HtKLiRpWGSUEskcZPX%2Fimage.png?alt=media&#x26;token=acd7558f-2b5a-4a3c-b0fc-1811be6627fd" alt=""><figcaption></figcaption></figure>

* After adding the component, open the **Map My Relationships Control**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F5jojNrS4I3qIQEz7Cl4B%2Fimage.png?alt=media&#x26;token=ab5a66ac-d582-47d6-95a2-c28861478d45" alt=""><figcaption></figcaption></figure>

* In a one-to-many relationship, enter the comma-separated relationship schema names inside the static value field.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fznip9WWi5zgtrJjv01t0%2Fimage.png?alt=media&#x26;token=291a79a7-b389-406a-933e-73112e5d53eb" alt=""><figcaption></figcaption></figure>

* Repeat the above step for the other properties and fill in the details.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FxKrohcY19kOycrgdErlH%2Fimage.png?alt=media&#x26;token=188f6161-abb5-40b4-aeb5-b9c61c62421d" alt=""><figcaption></figcaption></figure>

* **Allow Actions?:** Specify whether the user should be able to perform actions such as Create Email, Create Phone Call or Create Task. Enter 0 for Yes and 1 for No. Default is Yes i.e. 0.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FIPehAqLGwpdVKRzbHCLG%2Fimage.png?alt=media&#x26;token=087dc5dc-6116-41a5-b50c-2a2511cc44fd" alt=""><figcaption></figcaption></figure>

* &#x20;Select the device where the control should be displayed. Click **‘Done’** to save changes.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FSqYpfRmJxWZxyiY9JBx4%2Fimage.png?alt=media&#x26;token=c5416013-1f21-46a1-9185-5b82171ea7e5" alt=""><figcaption></figcaption></figure>

* Select **“Map My Relationships**” filed and Check the Hide label property.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FEoPDMo6Wo7tfA2RvHFfC%2Fimage.png?alt=media&#x26;token=b114593e-c5b4-4b3e-90f1-2e7c290c6ff8" alt=""><figcaption></figcaption></figure>

* &#x20;Click on **Save and publish.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fq6sMqTxytaAssJOaE1gm%2Fimage.png?alt=media&#x26;token=7bb7db46-427a-4201-863a-724602ea1fbb" alt=""><figcaption></figcaption></figure>

* After publishing, successfully navigate to the record and check if the **Map My Relationship control** is working or not.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FqAbeY3EfpSxFmTlIvAPR%2Fimage.png?alt=media&#x26;token=33aff208-32f1-4512-acc1-294d80a4ecaa" alt=""><figcaption></figcaption></figure>

* If the control shows the following message: ‘***Something went wrong. Please check the configuration***, then check if the invalid relationships have been added in the properties or not. We can only add those relationship records that are available to read.

&#x20;

### From Classic UI:

* Click on **'Map My Relationships'** text field --> Go to **Controls** --> Select **Map My Relationships** control.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M8xh5ekSFaPvxd0AAAb%2F-M8xj71BOwXZFLtk4h9h%2FBasic_0.png?alt=media\&token=fc47aba8-0cb1-49cd-99f2-0605127b5fbb)

* Go to **One to Many Relationships** --> Click on **edit** button.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_x-8zjf-TfVEGp0v%2F-M87axRyZ_WkHCcNKMM0%2FBasic_1.png?alt=media\&token=2b517913-3af2-469d-a50c-eafb6a739ee2)

* Select **'Bind to a static value'** --> Enter the comma separated **relationship schema name**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MQ1SxlsOtQDPcQwvaJO%2F-MQ1U9RbzgIzGoyD9oYe%2FRel_1.png?alt=media\&token=09b90b2f-0f6f-4d2f-b294-48b508d26fff)

* Repeat the procedure for other relationship fields.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MQ1SxlsOtQDPcQwvaJO%2F-MQ1UJ78ZubfNu_jSSzA%2FRel_2.png?alt=media\&token=80585822-6f0a-4a62-b75d-85eb502b4943)

* Go to **'Allow Action?'** --> Enter **'0'** for **'Yes'** and **'1'** for **'No'** (Default setting is always **'Yes'** i.e. 0)

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_x-8zjf-TfVEGp0v%2F-M87bEizE_BoB2y-lTx-%2FBasic_4.png?alt=media\&token=d1b9a8ca-39cc-48fc-a2c7-aedea2e2d5fe)

* Select the device to display the control --> Click on **OK**.
* Again click on **text field** --> **Display** --> Disable **'Display label on the form field'** --> Click on **OK**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_x-8zjf-TfVEGp0v%2F-M87bPSYWIbDx6E45Ivw%2FBasic_6.png?alt=media\&token=b1d6cd7b-0480-47f9-a310-715351d7a4c9)

* Click on **Save** --> Click on **Publish**. &#x20;

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87_x-8zjf-TfVEGp0v%2F-M87bWWgHXkG33W4rxDR%2FAdv_8.png?alt=media\&token=c9c8f4fd-202c-46ee-b28f-00086600be1c)

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