# Add Map My Relationships control on the form

Decide on the entity on which you want to see the related records of that entity. The entity may be a common-use entity.

{% hint style="info" %}
**Note: The Administrator can configure the Map My Relationships control for any number of entities in the system.**
{% endhint %}

To add the Map My Relationships control on the form, follow the steps given below:

### From Power Apps:

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

{% hint style="info" %}
**Note: Select the entity on which you want to configure the Map My Relationships control here, we are taking the Account entity as an example.**
{% endhint %}

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FdiMv6XHY5nPUc5hU8eKD%2Fimage.png?alt=media&#x26;token=f1cf43e3-0b04-4714-b626-0b9cc3fab49a" alt=""><figcaption></figcaption></figure>

* Open the Account entity --> click on **Forms**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FEaIiSn9XUuY6PB6EyFPF%2Fimage.png?alt=media&#x26;token=6fdadd84-1cb1-42fd-8ab3-ca6fe3fb69fb" alt=""><figcaption></figcaption></figure>

* Select the **Account main form.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Flop8NDh7Bc0iv4l2AFDL%2Fimage.png?alt=media&#x26;token=742336bb-d9ef-4de5-bd16-6347d02eafc2" alt=""><figcaption></figcaption></figure>

* Click on the New table column.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FUIkKvn9WZulrYXhPJ7JS%2Fimage.png?alt=media&#x26;token=c4ced1a0-0c81-4423-bf48-159a197a2431" alt=""><figcaption></figcaption></figure>

* Create a single-line text field and fill in all the required details.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F9rbmdGJto9hqZCmNCRgp%2Fimage.png?alt=media&#x26;token=40f0c603-9978-46b6-94de-a41a34dc3dd8" alt=""><figcaption></figcaption></figure>

* After creating the custom single-line text field, add it to an existing or new tab on the form.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F9LJg6WLUirY77xpDKY1y%2Fimage.png?alt=media&#x26;token=9b56ddc9-b439-4bf5-a80e-e869cfb56136" alt=""><figcaption></figcaption></figure>

* Fill in the required details for the tab.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FnbT0nB3a3X9QqniYyFBd%2Fimage.png?alt=media&#x26;token=7151131c-ed7f-43e8-8a4a-bd1c2dbe3f44" alt=""><figcaption></figcaption></figure>

Add the already created custom field to the form.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F98osVynhxQs1CxHD0sGd%2Fimage.png?alt=media&#x26;token=0572618b-de64-4220-8c30-24a444874f1a" alt=""><figcaption></figcaption></figure>

* Edit the properties of the field --> Bind the control. In field properties, go to Components --> click on the Add Component button.

{% hint style="info" %}
**Note: A New field of type text is required to bind the Map My Relationships control. The field does not hold any data.**
{% endhint %}

* Add the Map My Relationships control to the field.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F1pNbUQWfIXUl7afvN9or%2Fimage.png?alt=media&#x26;token=a9f0656b-719a-40e1-8488-f95864ea13a8" alt=""><figcaption></figcaption></figure>

* If **Map My Relationships Control** is not listed in the add component popup --> click on **"Get More Components"** --> search for the **Map My Relationships control** --> click on **"Add Now."** After this step, the component will be shown in the add component pop-up.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Ft9VAzMGQOTqbyOlOjG5S%2Fimage.png?alt=media&#x26;token=69074b88-7200-40d3-a8c0-c1b3b322ec35" alt=""><figcaption></figcaption></figure>

* Select the Map my relationships control from the add component popup.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FQ8ypUmqpLbUvgELvYOas%2Fimage.png?alt=media&#x26;token=38e871d0-7a43-424c-8524-a990947dde86" alt=""><figcaption></figcaption></figure>

* Fill in all the required properties and click on Done.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F4A0c4PEGWANum1wMMv1Y%2Fimage.png?alt=media&#x26;token=ea524aaa-94b6-4a19-a9d4-01d505aec595" alt=""><figcaption></figcaption></figure>

### From Classic UI:

* Navigate to **Advanced Settings** on gear icon on top right --> **Settings --> Customizations.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M8ASHuB7Hm_W1talfeg%2F-M8ATyRKxDQsFF3VmTGa%2FAdd_11.png?alt=media\&token=6209789d-c5e8-474c-8523-71ed5a5024e8)

* Go to **Customize the System.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M8ASHuB7Hm_W1talfeg%2F-M8AUKz9R5MNy_pk0Tkg%2FAdd_12.png?alt=media\&token=6b253d9d-ce24-4f6f-b8d6-f084004d2a82)

* Click on **Entities** --> Select the **entity.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87Z7MWaaO355kOB1tr%2FAdd_2.png?alt=media\&token=b48608db-259f-4b13-aa3a-00b633a44e51)

* **Expand** selected entity --> Click and open the **Form** to add Map My Relationships view.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87ZDV_SsdpTCn7FLnH%2FAdd_3.png?alt=media\&token=885e4c2a-2bf0-4985-afe1-4984e8ba1924)

* Next step is to bind Map My Relationships control to any text field. For this, got to **Field Explorer --> Click on New Field.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87ZMe-Mrx8bRIZtzge%2FAdd_4.png?alt=media\&token=f2be9df2-fd41-4352-8561-f356e68f2f28)

* Fill in the required details --> Click on **Save & Close**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87ZTeta-EDvypV1X0M%2FAdd_5.png?alt=media\&token=0ffd14f0-075e-4a9e-8016-7095fccebdb0)

{% hint style="info" %}
**Note: : New field of type text is required to bind Map My Relationships control. The field does not hold any data.**
{% endhint %}

* Go to **Insert** --> Create new tab.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87Z_LIjMB5Q3bNx9Iz%2FAdd_6.png?alt=media\&token=df4e4599-9cc0-44c2-bc83-2aedaa75db7b)

* Click on **new tab** --> Name the tab --> Click on **OK**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87ZfFNYFuY2ER1HPTl%2FAdd_7.png?alt=media\&token=51f55e0e-e622-44b8-b81d-06cfe3dd2b3b)

* **Drag and Drop**  the new text field to the newly created tab.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87ZlXLngkshAqhtG0u%2FAdd_8.png?alt=media\&token=0070b29f-a936-4c24-85e1-ed6136340d55)

* Click on **text field** --> Go to **Controls** --> Click on **'Add Controls'** button.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87_0QtfRmUc2NfKNdU%2FAdd_9.png?alt=media\&token=537ad57c-26af-4cae-a87d-e7a829937320)

* Scroll down and select **Map My Relationships** control --> Click on **Add**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M87YqMy9GEa_cWorOeb%2F-M87_6PkuH4QaUPt5u6p%2FAdd_10.png?alt=media\&token=9307f5b5-1bc4-40f7-82c6-40d5020d2975)

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