Extracting data with a Rational Publishing Engine filter

Define filters in a query to extract specific data. The Rational® Publishing Engine filter is processed when data is extracted from the data source.

Before you begin

Use the Scripted filter page to define a JavaScript expression, using the data attributes and variables accessible in the current context.

Procedure

  1. Select an element that has a query in the template content editor.
  2. In the Properties view, expand Data.
  3. Locate the filter property and click the ellipsis. The Filter Editor window opens.
  4. In the Scripted filter window, expand Attributes or Variables.
  5. Select the Left operand, Operator, or Right operand from the list.
  6. Click OK.
    Note: If you use the tools on the scripted filter page, any data attribute or variable used is automatically selected. If you enter the condition manually, you must also manually select the used components.

Example

The following example displays a scripted filter:
Scripted Filter

Feedback