![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Displaying if linked is removed DOORS v8.3 Topic Summary: Displaying if linked is removed Created On: 2-Oct-2008 18:54 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When two objects are linked in two modules, when one is modified, the other can be flagged using suspect link analysis.
Is it possible to flag the object similarly if the link is deleted between the two objects? I know that I can access link history in the module history, but I am looking for a column (dxl attribute) that can be added in one module, that would display whether a link was removed for each object. Thanks in advance for your help |
|
![]() |
|
![]() |
|
Here is the Layout DXL code for a column showing link history details for out-going links (based on code examples found in this forum):
-------------------------------------------------------------------------------------- Object o = obj History h = null void ShowHistory(History h) { HistoryType ht = h.type int targetNum = 0 if ((ht == modifyLink) || (ht == createLink) || (ht == deleteLink)) { targetNum = h.targetAbsNo display h.author "\t" h.date "\t" stringOf(ht) " to: " targetNum "" } } for h in o do ShowHistory(h) -------------------------------------------------------------------------------------- For this to work your modules should have the Link history generation selected in Module Properties. The script shows history for link changes in the current module, not the history items in the baselines. The trouble with link history is that for some reason the module names linked to or link module names used are only available for the Administrator. So you can try to access h.linkInitialName and h.targetInitialName but you will get only DXL errors if you are not running the code as Administrator. ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ Edited: 6-Oct-2008 at 07:26 by Pekka Mäkinen |
|
![]() |
|
![]() |
|
Hi Pekka Mäkinen
Thanks for your help, I will check this code and I will let you know if this work for my case. Regards Alejandro Garcia |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.