![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Only allow outgoing links? Topic Summary: Created On: 16-Oct-2003 18:15 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: From Telelogic, here are functions that have not yet made it into the DXL manual: bool getMandatory(LinkModuleDescriptor lmd) Gets the "mandatory" flag on the supplied LMD. (readable by all users) ----- void setMandatory(LinkModuleDescriptor lmd, bool mandatory) Sets the mandatory flag to "mandatory". Returns a non-empty string in case of error -- currently only possible in the case that the current user does not have "may manage". ----- string addLinkModuleDescriptor(Folder folder, string source, string target, bool overridable, bool mandatory, string name, string description) The behavior of the older addLinkModuleDescriptor with 6 parameters is unchanged -- it creates an LMD in which the mandatory flag is false. ----- bool getLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef) Get the value of the exclusive flag for the specified document inside Folder f. The specified document must be a child of the specified folder. ----- string setLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef, bool exclusive) Set the exclusive flag for the specified document. The current user must have control access to Folder f. The specified document must be a child of the specified folder. | |
![]() |
|
Hi,
When you manually set up the linksets in a module, there is a checkbox “Only allow outgoing links as specified in the above list.” Does anybody know how to toggle this using DXL? Is it a ‘hidden’ parameter like setting the linkset pairing to Mandatory? Thanks, Bob Mathis (I’m using my Team Lead’s login because I can’t post using my own) |
|
![]() |
|
![]() |
|
From Telelogic, here are functions that have not yet made it into the DXL manual:
bool getMandatory(LinkModuleDescriptor lmd) Gets the "mandatory" flag on the supplied LMD. (readable by all users) ----- void setMandatory(LinkModuleDescriptor lmd, bool mandatory) Sets the mandatory flag to "mandatory". Returns a non-empty string in case of error -- currently only possible in the case that the current user does not have "may manage". ----- string addLinkModuleDescriptor(Folder folder, string source, string target, bool overridable, bool mandatory, string name, string description) The behavior of the older addLinkModuleDescriptor with 6 parameters is unchanged -- it creates an LMD in which the mandatory flag is false. ----- bool getLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef) Get the value of the exclusive flag for the specified document inside Folder f. The specified document must be a child of the specified folder. ----- string setLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef, bool exclusive) Set the exclusive flag for the specified document. The current user must have control access to Folder f. The specified document must be a child of the specified folder. Edited: 16-Oct-2003 at 19:51 by Dennis Lockshine |
|
![]() |
|
![]() |
|
I'm still confused as to why there is an "overridable" and also a "mandatory" flag for LMDs. I think the "Overridable" one is ignored.
Anyway, you care about the setLinkModuleDescriptorsExclusive()... command. Be advised that when you purge a module you do NOT purge the LMDs of that module. They still exist but are invisible to the user interface. They WILL appear in the for LMD in folder loop. Useless ones can be identified by the null source/target/LM name. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Only allow outgoing links?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.