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: Can Filters be saved in a Formal Module ?
Topic Summary:
Created On: 6-Feb-2004 16:15
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 Louie Landale, on Wednesday, February 11, 2004 3:32 PM

Answer:
Save then filter in some View. Be sure the "filtering" option is SET on the save-view dialog. If you really want the module to always have this filter, you'll need to specify that this view is the default for the module.

- Louie
 6-Feb-2004 16:15
User is offline View Users Profile Print this message


Srikanth Chalasani

Posts: 13
Joined: 4-Nov-2003

Hi, I have created a filter in a formal module. When I exit and reenter the formal module, I do not find the filter. Is there a way to save filters?

thanks
Srikanth
Report this to a Moderator Report this to a Moderator
 6-Feb-2004 19:09
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
Save then filter in some View. Be sure the "filtering" option is SET on the save-view dialog. If you really want the module to always have this filter, you'll need to specify that this view is the default for the module.

- Louie
Report this to a Moderator Report this to a Moderator
 6-Feb-2004 19:29
User is offline View Users Profile Print this message


Srikanth Chalasani

Posts: 13
Joined: 4-Nov-2003

thanks Louie for your reply. I have one more concern.
When I copy projects to another folder and open my Formal modules, the filters do not work. I guess some DXL needs to be written to handle this situation. Can somebody please make my life easier by giving me some kind of skeleton DXL code which does the copying of filters. I can build my code based on that.

thanks
Srikanth
Report this to a Moderator Report this to a Moderator
 6-Feb-2004 21:21
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

If you copy a module the views and their filers DO still work.

However, if your filter's make use of specific module names (such as filtering for links), then the pasted module's view-filter will still mention the OLD modules: the filter doesn't know the other module was copied to a new project.

What, specifically, does the "filter" in question do?

- Louie
Report this to a Moderator Report this to a Moderator
 9-Feb-2004 14:40
User is offline View Users Profile Print this message


Srikanth Chalasani

Posts: 13
Joined: 4-Nov-2003

You are right, I have links in my filters. I expect them to work after I copy a project to another folder. Can this be handled using DXL? Is it possible to read filters and manipulate them ?

Report this to a Moderator Report this to a Moderator
 12-Feb-2004 15:21
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 97
Joined: 14-Aug-2003

Srikanth,

Yes, it is possible to read a filter and alter it. Although, it's not a trivial thing to do because there are a number of DXL functions that one uses to build a filter.

Therefore, if you read a filter string in you must parse it and figure out which parts of the filter string apply to it's corresponding DXL Function and also making sure your parser can handle compound filters.

It's not easy, but I'm sure it can be done. It's a real shame that DOORS allows the copying of a module and does not at the very least provide some indication that the module may contain references that may not be accurate.
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.