![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() 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 | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 ?
|
|
![]() |
|
![]() |
|
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. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Can Filters be saved in a Formal Module ?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.