![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Incoming Links Topic Summary: Detecting Incoming Links with DXL Created On: 23-May-2007 16:53 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: You have to open Source modules with something like: Object o = current LinkRef lref ModName_ srcModRef for lref in o<-"*" do { srcModRef = source lref read(fullName(srcModRef), true) } | |
![]() |
|
Is there a way to detect incoming links in a module with DXL when the linked modules aren't open? I created an attribute script to view the object text of the incoming links, but the information will only appear if the linked modules are open.
I am able to detect outgoing links with DXL without any problems. Telelogic pointed out this issue in their DXL manual, but I wanted to know if anybody found a workaround. |
|
![]() |
|
![]() |
|
You have to open Source modules with something like:
Object o = current LinkRef lref ModName_ srcModRef for lref in o<-"*" do { srcModRef = source lref read(fullName(srcModRef), true) } |
|
![]() |
|
![]() |
|
You can detect the LinkRef of incoming links (as Lewis' snippette shows), and that's how you find and open the source module.
Once you have the LinkRef, you can deduce the module's name and the linked object (sourceAbsNo), and can display that roudimentary information without opening the source module. Since you don't want to open the module, I'd have the attribute DXL detect if the module is open, if so display what you want and if not just display the module name and object number. - Louie |
|
![]() |
|
![]() |
|
Hi @all,
if you have links, that are comming from baselines you need to add an all ... And it's better to work with ModuleVersion sourceVersion lref: If you need only an unique Identifier I would recommend Louie's proposal where you could use (versionString (sourceVersion lref))" ("(sourceAbsNo lref)")" Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
You won't ever see any links FROM a baseline.
Links with baselines do not work properly outside of baseline sets. Create links from A (current) to B (1.0). Links are displayed correctly and real links are created to the baseline. However, when I baseline A, the links from A to B(1.0) remain in place, and they are also "echoed" in the new baseline A(1.0). Echoed links have a hollow link indicator arrow. The echoed links can be seen from A(1.0), but from B(1.0) the incoming echoed links are not visible. Echoed links can be followed from a baseline but they cannot be followed back to a baseline, only to the current version. This makes linking to baselines useless unless you are using baseline sets which are IMHO rubbish. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Incoming Links
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.