Example of Engineering Requirements Management DOORS native filters
This product supports a proprietary API and the filter is expressed using the DOORS View syntax.
Documentationin the Object Text attribute.
Attribute 'Object Text' contains 'Documentation' (case sensitive)
- Open a 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 DOORS filter, which is a DXL script.
- 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 DOORS filter (DXL script) and click OK.
Filtering by direction
The syntax for filtering all the in links or out links is:
Link direction in|out
Filtering by link module
The syntax for
filtering all the links through a link module is: Link module link_module_path_and_name
The filter is case-sensitive.
The following example filters all links from a Link Module 1:
Link module/Demo/Car/Link Module 1
Filtering by target module
The syntax for
filtering all links to or from a specified module is: Link
analyze module target_module_path_and_name
The following example filters all links between the analyze module
and system requirement module: Link
analyze module /Demo/Car/System Requirements
Combining native link filtering
You can combine the filters in a native filter tab. Each filter must be on its own line.For example, in the native filter tab, type the filter as:
Link analyze module/Demo/Car/System Requirements.
Recursive retrieval
To follow DOORS links recursively, set Recursive Level property to a non-zero value in the Properties view. This follows the links from the initial object and from all its linked objects up to the specified recursive level.