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: setDefaultLinkModule - HELP -
Topic Summary:
Created On: 29-Jan-2008 11:33
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.
 29-Jan-2008 11:33
User is offline View Users Profile Print this message


Jon Martin

Posts: 49
Joined: 22-Nov-2006

Hi All

I tried to set the "default link module" to a module using "setDefaultLinkModule" and it changed the default to all the modules in the project (including the "Change Proposal" modules).

How can i change the link module to a single module?
Report this to a Moderator Report this to a Moderator
 29-Jan-2008 12:09
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Don't panic.
The following should fix it:

First, set the default link module back to DOORS Links.
From the database explorer select Tools > Options...
Select Settings tab.
Enter the default link module name.
Click OK to save.

Open the module in question.
Select File > Module Properties
Select Linkset tab.
Click on Add, browse for the target module and link module
OK to save.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 29-Jan-2008 18:10
User is offline View Users Profile Print this message


Jon Martin

Posts: 49
Joined: 22-Nov-2006

Thanks Tony

The reason I used "setDefaultLinkModule" is because I have a module that has an out-link to 18 different modules and i need to store the links in a specific Link module.
Is there a way to use this command without changing the default link module in the other module in the project?
Report this to a Moderator Report this to a Moderator
 29-Jan-2008 18:45
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

You can use the addLinkModuleDescriptor function which will add a linkset pairing for your module.

If you have the "Only allow outgoing links as specified in the above list" checkbox checked on the "Linksets" tab of the module properties, it will force all links going from Module A to Module B to go through a specific link module/link set.

Attached is a brief example of how to use the function. Its also in the DXL manual if you a more "in depth" explantion.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 29-Jan-2008 21:18
User is offline View Users Profile Print this message


Jon Martin

Posts: 49
Joined: 22-Nov-2006

Is it possible to set a different link module without using linkset pairing? (i mean for a module, not for the all database)
Report this to a Moderator Report this to a Moderator
 30-Jan-2008 14:10
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Not sure.

The methodology we use is to use link set pairings. I can't think of any other way to pair a link module with a formal module.

A link set has to be created for a link to be made, if there isn't a link set pairing defined, then the linkset will be created in the default link module. Which DOORS will create if it doesn't exist....

It can get tedious creating the link set pairings if you do it by hand and you have to create many at a time, but it could probably be easily scripted.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.