![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Rename attribute, update Views Topic Summary: Created On: 13-Feb-2008 23:40 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
It appears my nagging memory that DOORS updated views when you rename an attribute is incorrect. I've noticed, however, that the following sequence still works:
[] insert attr in a view [] save the view [] rename the attribute [] load the view, notice its missing [] rename the attribute back to original [] load the view, notice it's back. This leads to the following algorithm that will let you rename an attribute from NameFrom to NameTo in a module updating all the views that contain it. [1] If NameFrom doesn't exist or NameTo does exist, don't change the module [2] Create Temp attr NameTo in the module; its type doesn't matter. [3] Open each view in the module. For each column that displays NameFrom, change it to display NameTo instead. Save each such view. [4] Delete NameTo from the module. [5] Rename NameFrom to NameTo. This is probably easier than remembering where in which views the attribute exists, and re-insterting it after the rename. - Louie The above algorithm won't find AttrDXL, LayoutDXL, or any other DXL that presumes the existence of the old NameFrom. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Rename attribute, update Views
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.