Example: Rational DOORS native filters

Rational® DOORS® supports a proprietary API and the filter is expressed using the Rational DOORS View syntax.
The following Rational DOORS native filter example filters objects that contain the word "Documentation" in the Object Text attribute.
Attribute 'Object Text' contains 'Documentation' (case sensitive)
To generate the native filter text for a Rational DOORS data source:
  1. Open a Rational DOORS Module, and then click Tools > Filter > Define menu entry.
  2. Create the filter syntax:
    1. Select the Attributes tab.
    2. For Attribute, select Object Text.
    3. For Condition, select Contains.
    4. For Value, enter a specific value to filter on. For example, to filter only those objects that contain the word Documentation in the Object Text attribute, enter: Documentation
    5. Click Add. In the Advanced options section, the rule syntax is created.
  3. Click Description and copy the full description. You now have the Rational DOORS filter, which is a DXL script.
To add the Rational DOORS filter to the Rational Publishing Engine template element:
  1. Select the template element that contains the query that is to be filtered.
  2. In the Properties tab, expand Data.
  3. In the Filter field, click the ellipsis. The Filter Editor window opens.
  4. In the Native Filter tab, paste the Rational DOORS filter (DXL script) and click OK.

Feedback