Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Filtering incoming links
Topic Summary:
Created On: 23-Mar-2004 22:25
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 23-Mar-2004 22:25
User is offline View Users Profile Print this message


Allison Pedersen

Posts: 2
Joined: 16-Mar-2004

We are using the database as a family database so that several products have their requirements in the same database - we use an attribute called "Application" to do this. I am running a trace analysis and have some questions on this. I am viewing in-links for the module I am currently in and am filtering my current module on "Application" includes "Project A" and "Requirement" = "Yes". Then I insert a column and pick the "Layout DXL" called "Trace Analysis (open modules only)". All the traces show up. What I would like to do it also filter the information coming from the incoming links on "Application" includes "Project A", so that this analysis really only displays information for my project. Is there some way to do this?
Report this to a Moderator Report this to a Moderator
 24-Mar-2004 21:18
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

Hi Allison,

Link filtering within DOORS is still a tad primitive.

You're limited to filtering on in/out links, links that exist in a particular link module, links to all modules or links to only open modules. Filtering on attributes of a link such as creation date, who created it or a custom defined attribute that you could use to categorise links based on a project is not supported out-of-the-box.

You could however consider creating a find type function using DXL to identify links that meet you're criteria, use a skip list to record the unique Absolute Number of each object that matches the find criteria, use this list of Absolute Numbers in the DXL script to generate the criteria for a filter and then apply the filter.

Good Luck

-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
 25-Mar-2004 10:15
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Allison,

This is not an ideal solution, but will give you the column you need.

I have taken the layout dxl produced by DOORS and added a test to filter the information displayed.

This tests for attribute "Allocation" including the value "Project A".
If you want to change these, the edits are very simple in the code.

The code is attached.
Create a DXL column, select Browse, then Current. Paste the code into the window and save.

Hope this helps.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 25-Mar-2004 14:22
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You'll need to edit the layout. Within the link loop:
o Turn the otherMod into a full name
o Look for \ProjectA\ at the beginning of this name.
(if NameOtherFull[0:9] == "\ProjectA\")
o If its not found then continue (don't display info on this link).

- Louie
Report this to a Moderator Report this to a Moderator
 25-Mar-2004 20:07
User is offline View Users Profile Print this message


Allison Pedersen

Posts: 2
Joined: 16-Mar-2004

Tony,

Just wanted to let you know that your dxl worked. Thank you so much for your help.

I had to make a few minor modifications. Some were to make it specific to my database, such as the module name and attribute value. The other change I had to made was I updated the line...

for lr in obj <- "*" do

to be...

for lr in all(obj <- "*") do

I also added the word "all" to the line... for l in obj <- "*" do

I did this based on getting an error on those lines and looking at the trace_open_detailed.inc file. I am using DOORs 7, so I am not sure if that's why I had to do this. Just something I thought I should point out.

Thank again for the help.

Allison
Report this to a Moderator Report this to a Moderator
 26-Mar-2004 08:07
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The all(obj <- "*") is new to DOORS 7 for handling links to baselines as well as the current version.
I haven't got my feet wet on this stuff yet.


-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.