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: Apply current filter on in-linked objects
Topic Summary:
Created On: 21-May-2008 17:03
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.
Answer This question was answered by Octavian Stanescu, on Thursday, May 22, 2008 2:57 PM

Answer:
I thought so, too.
However, I think that the situation I am trying to resolve is an error from the start.

The link: obj V2 --> obj V1 is an error in my opinion.

I will better create a layout that shows the objects with links and their version, so people can resolve the errors first.

Thank you for looking into it,
Octavian
 21-May-2008 17:03
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Hi,
I have a dxl column (layout) that shows in-linked objects.
However I like to apply the current filter from the current module to the in-linked objects.

Something like in the attached code

But it doesn't work, the in-linked objects that should have been rejected, are still displayed in the layout DXL.
Report this to a Moderator Report this to a Moderator
 22-May-2008 13:20
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Ok I'm a little unsure of which objects with inlinks you're trying to filter out. If any.

If you just want to filter on the current filter + only objects with inlinks, you can do the following.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 22-May-2008 13:26
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Actually re-reading it I think I see what you're trying to do. You only want to display in your DXL column data from the in-linked objects that matches the criteria of the filter for your current module. Well the reason that all in-linked objects are showing is because you're just opening references to the source modules, and displaying data. You don't apply any kind of checks before displaying the data.

I'm not sure how you'd accomplish what you're trying to do. You can convert the current filter to a string representation. But you'd have to have some pretty crafty logic to parse out the different attributes and checks and then apply it to checking the source object of each in link.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 22-May-2008 14:57
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Answer Answer
I thought so, too.
However, I think that the situation I am trying to resolve is an error from the start.

The link: obj V2 --> obj V1 is an error in my opinion.

I will better create a layout that shows the objects with links and their version, so people can resolve the errors first.

Thank you for looking into it,
Octavian
Report this to a Moderator Report this to a Moderator
 22-May-2008 17:43
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

You could also look at the filterParser.inc file someone here wrote (quick search). If you get the string of the filter, reconvert it to a new filter for the in link module, filter that module, then see if the source object is in the display set.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.