---
title: Using the OGNL edit window
description: Access the in-line OGNL editor and test expressions.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:pf_using_ognl_edit_window
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/pf_using_ognl_edit_window.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  about-this-task: About this task
  steps: Steps
  related-links: Related links
---

# Using the OGNL edit window

Access the in-line OGNL editor and test expressions.

## About this task

An in-line editor is available for OGNL expressions. The editor validates the expression and allows an administrator to enter input values and test the resulting output.

## Steps

* To reach the OGNL editor, click **Edit** under **Actions** for an expression on any of the **Attribute Fulfillment** windows or click **Test** in the **Show Advanced Criteria** section on the **Issuance Criteria** window.

  |   |                                                                                                                          |
  | - | ------------------------------------------------------------------------------------------------------------------------ |
  |   | The test function does not work for the `context.httpRequest` attribute because its value is an object rather than text. |

* To test an expression:

  1. Enter an input value in the **Value** text box associated with the attribute.

  2. Click the **Test**link near the bottom-right of the window.

     If the expression contains no errors, the result appears under **Test Results**.

     |   |                                                                                                                                                                                                                                                                   |
     | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
     |   | If you want to save changes to an expression, click **Update** under **Actions**. To discard changes, click the **Cancel** link under **Actions**. Click the **Cancel** button near the bottom of the window to discard all changes you made in the current task. |

  ## Related links

* [The OGNL language guide from Apache Commons](https://commons.apache.org/dormant/commons-ognl/language-guide.html)
