![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DXL Sorting Topic Summary: How can I sort in the Analysis Wizard DXL? Created On: 15-Jun-2007 15:59 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I need to sort information within the Analysis Wizard DXL. I am displaying one attribute, but would like to sort on another attribute to display the correct order of the links. Everytime I insert the sort function, DOORS vanishes and I have to try all over again. Help!
|
|
![]() |
|
![]() |
|
never heard of anyone being able 'SUCCESSFUL' to filter or sort with layout dxl -- you would be making DOORS busier than a revolving DOOR
|
|
![]() |
|
![]() |
|
[1] Are you saying you want to sort the objects in the module?
Don't add sorts nor filters to Layouts nor Attr DXL. The context for those is the current object and it will seriously screw things up if one object tries to sort the module based on values that haven't been calculated yet for other objects. I once tried to have a layout decide whether the 'obj' should be displayed or not, using accept and reject. It doesn't work since objects that are rejected from the current view are not calculated. I'd add the layout as a column, then define the sort, then save it as a view. Having said all that, it COULD be possible to define the sort or filter in the layout, but the layout would need to be coded such that it only calculates for exactly one object in the module. I cannot think of how that would work, but it would need some kind of 'for object in module' look in order to determine if this 'obj' is the right object, and then specify the sort or filter. I doubt this is going to work. [2] Are you saying you want to display each object's links in a reasonable order? You can modify the layout wizard. Instead of 'display' or 'displayRich', add the value you want to display as the DATA of a Skip, adding the sort criteria (such as the target object identifier) as the KEY. After the link loop, loop through the Skip displaying the value. This works as values are retrieved from the Skip is 'KEY' sorted order. After that, delete the Skip. - Louie Edited: 15-Jun-2007 at 16:54 by Louie Landale |
|
![]() |
|
![]() |
|
I have been successful in using a filter in DXL to only display the information I need. Now I am trying to display the multiple links in a sorted order based on another attribute within the module the links are being pulled from. I have never built a skip list in DXL, so that will be a challenge for me! |
|
![]() |
|
![]() |
|
See attached to get going.
|
|
![]() |
|
![]() |
|
Thanks! I'll see how far I can get!
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DXL Sorting
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.