![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Analysis Wizard - want to modify results Topic Summary: How do you modify DXL code to only display a subset of results Created On: 26-Jun-2007 23:21 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Excellent. That works. I have very limited skills when creating code, but can understand written code to carry forward to other applications. Thanks again. | |
![]() |
|
I have a module called User Requirements List, that has a more detailed requirement relationship with 3 module types: (System Requirements List, Use Cases and Business Process Descriptions), which all use the link_module of 'Satisfies'. The System Requirements List is easy since it will always be one module, but the Use Cases and Business Process Descriptions can have multiple modules (each depicting a separate use case or business process description.)
I need to run a traceability report that will show me the links between my User Requirements and the other detailed requirement modules, the end result being 4 columns, as follows. User Requirement System Requirement Use Case Business Process Description UR1 SR1 UR2 SR2 UC1 UR3 SR3 UC2 BPD1 UR4 UC3 BPD2 UR5 UC4 UR6 BPD3 Since System Requirements is it's own module, the analysis wizard does that easy enough. What I need to know is how can I modify the analysis wizard code for my Use Case column to indicate that I only want to see results in that column where the Object Identifier contains UC. Likewise I want to display a results in another column for the Business Process Description, where the Object Identifier contains BPD. How do you write the IF statement in the DXL code that the Analysis Wizard created, in order to just display the BPD or the UC modules?? I'm including the current DXL code that I want to modify. Thanks ------------------------- Brenda Heiss Cornell |
|
![]() |
|
![]() |
|
Same as an if statement anywhere else.
Anyway, I added the code to check for "UC" in the identifier of the linked object. I also deleted two unused strings the wizard always puts in and replaced the other two strings(s and disp) with Buffers to make it far more memory efficient. I recommend doing this with any layout DXL column. Otherwise your module will slowly slow down as the string table builds to a huge size from all the strings being put into it by the layout DXL code. Buffers can be deleted and prevent this. Enjoy. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Excellent. That works. I have very limited skills when creating code, but can understand written code to carry forward to other applications. Thanks again.
------------------------- Brenda Heiss Cornell |
|
![]() |
|
![]() |
|
At the end of the code, it indicates to Delete(objID) for those that don't match the 'SR' criteria.
Is there a way to just HIDE the data, and not delete it from the view?? The reason I ask is that if I run a normal wizard, at a depth of 3 or 4, if there are relationships between level 1 and level 2, the normal wizard would display the relationship from one column to the other (I'll do my best to illustrate below) Business Req ID User Req ID System Req ID Original Req. Linked to BR Linked to UR ------------------------- Brenda Heiss Cornell |
|
![]() |
|
![]() |
|
At the end of the code, it indicates to Delete(objID) for those that don't match the 'SR' criteria.
Is there a way to just HIDE the data, and not delete it from the view?? The reason I ask is that if I run a normal wizard, at a depth of 3 or 4, if there are relationships between level 1 and level 2, the normal wizard would display the relationship from one column to the other (I tried to build a view, but the spacing didn't work) ------------------------- Brenda Heiss Cornell Edited: 19-Oct-2007 at 15:17 by Brenda Cornell |
|
![]() |
|
![]() |
|
Brenda,
The code deletes a buffer for memory allocation. The data is being hidden. Nothing but temp space is being deleted. You're saying that you don't want to show recursive links to "hidden" data, correct? ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
|
![]() |
|
Brinda, Taking a guess at what your asking, there is a myth that data from one layout-dxl can not be displayed in another column.
However it is possible to save the layout-dxl output to an attribute but this can be tricky and shouldn't be tried at home. Leave it to the "Myth Busters" who have years of professional experience to protect them. In other words, your goal may be better achievable with regular dxl, attribute-dxl or another additional layout-dxl column. Edited: 20-Oct-2007 at 19:55 by ron lewis |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Analysis Wizard - want to modify results
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.