Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Getting link module name from LinkRef
Topic Summary: Can you?
Created On: 18-Sep-2007 13:22
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Kevin Murphy, on Tuesday, September 18, 2007 6:48 PM

Answer:
David,

The following code works, however, it does not work when you switch the outgoing links! Just incoming links.

So what you'd have to do to make this work is for outgoing links, always open the target module and run this function there.

Hope this helps!
 18-Sep-2007 13:22
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Does anyone know of a way to get the name of the link module using a LinkRef? I know there is the module(Link l) function but that doesn't really help me.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 18-Sep-2007 14:39
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Answer Answer
David,

The following code works, however, it does not work when you switch the outgoing links! Just incoming links.

So what you'd have to do to make this work is for outgoing links, always open the target module and run this function there.

Hope this helps!

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 18-Sep-2007 18:48
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

You don't need to open the target module for outgoing links. The module(Link l) command works fine without it being open since it gets the link module, not the target module. To get it to work for outgoing links you just change "LinkRef lr" to "Link l" and swap the "<-" to "->".

However the code you posted shows that the DXL Reference Manual is out of date since it does not document that the "module" function will take a LinkRef parameter. Only a Link parameter. Interesting.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 18-Sep-2007 at 18:49 by David Pechacek
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.