How to: View Context in Enterprise Portal [AX 2012]

Updated: July 20, 2011

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

When an AxContextList is passed to another page, the values are passed as parameters of the URL that opens the new page. For security reasons, these parameters are encrypted to prevent users from seeing the values that were passed.

When you set up web part communication for an Action Pane or Toolbar, it can be helpful to see the values that are passed to the new page being opened. To do this, you must turn off the encryption for the Enterprise Portal site.

Caution noteCaution

Turn off encryption only when troubleshooting web part communication. Do not turn off encryption in a production Enterprise Portal installation.

  1. In the Microsoft Dynamics AX client, display the System Administration area page.

  2. In the Setup group, expand Enterprise Portal. Click Web sites.

  3. In the Administration of Web sites window, display the General tab.

  4. Make sure the Enable encryption checkbox is cleared. Click Close.

  5. If necessary, reset IIS for the change to take effect.

The following is a portion of the URL that displays the Work Order Details page when an item is chosen from a Toolbar web part. Notice that the values are encrypted.


The following is a portion of this same URL when encryption is turned off for the site. Notice that the key values passed through the AxContextList can be seen in the URL.


The first part of the key specifies the ID of the table that contains the record. In this example, this is the table with the ID 50002.

The second part of the key specifies the field ID and the value of the field. The ID of the field is 65534 and the value is 5637144581, which is a record ID.

Community Additions