# Parameter passing support for IFRAME

This feature extends the existing IFRAME configuration by enabling administrators to pass custom parameters that dynamically control the Attach2Dynamics UI. With this capability, you can show or hide specific buttons or fields, or adjust interface behavior based on the context. This provides greater flexibility and allows for a more tailored user experience within Dynamics 365.

### Configuration:

1. Navigate to **make.powerapps.com.** Select your environment -> **Tables**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F1AI1zoo7ALlymHRMDn0L%2Fimage.png?alt=media&#x26;token=06a1a999-3b1a-4b59-a33a-e933fe33c63e" alt=""><figcaption></figcaption></figure>

2. Choose the table where you want to configure the IFRAME.\
   \&#xNAN;*For Example: **Contact***

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F2dvvinl891zbmW0b1tRS%2Fimage.png?alt=media&#x26;token=5e72f45b-94f5-4799-aabb-d584b77670d5" alt=""><figcaption></figcaption></figure>

3. **Under Data experiences**, select **Forms**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FGA9brRivACVz4lP9U19S%2Fimage.png?alt=media&#x26;token=b4489e01-254c-45d4-9386-d709f1400628" alt=""><figcaption></figcaption></figure>

4. Open the **Main form type**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FIgWEwvcJbJGGF8KTx6RM%2Fimage.png?alt=media&#x26;token=3649ad06-1500-4018-a42e-759a5e3693ac" alt=""><figcaption></figcaption></figure>

5. Navigate to your **IFRAME** tab -> Select the IFRAME and click on **Web resource**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FqGOjRS66z7tRONrFEC1G%2Fimage.png?alt=media&#x26;token=f4e3b587-146b-4138-b7b4-c1121d02c75f" alt=""><figcaption></figcaption></figure>

6. In the **Custom Parameter Data** field, enter the required parameters and click **Done**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOLCaktAB8VwTyPkv6OhG%2Fimage.png?alt=media&#x26;token=cfbddeac-f645-47e3-8425-70088b0787d2" alt=""><figcaption></figcaption></figure>

6. Open any record for the selected table in Dynamics 365, and then open the IFRAME to verify the applied changes.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F1kwMc9cB4T6Y66JWEvd5%2Fimage.png?alt=media&#x26;token=c80a3690-3007-422b-a395-7d46e19caef3" alt=""><figcaption></figcaption></figure>
