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:
- Open a Rational DOORS Module,
and then click .
- Create the filter syntax:
- Select the Attributes tab.
- For Attribute, select Object Text.
- For Condition, select Contains.
- 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
- Click Add. In the Advanced options section,
the rule syntax is created.
- 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:
- Select the template element that contains the query that is to
be filtered.
- In the Properties tab, expand Data.
- In the Filter field, click the ellipsis.
The Filter Editor window opens.
- In the Native Filter tab, paste the Rational DOORS filter
(DXL script) and click OK.