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: Default module view of Read Only.
Topic Summary:
Created On: 15-Aug-2005 13:58
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.
 15-Aug-2005 13:58
User is offline View Users Profile Print this message


Gary Eitel

Posts: 1
Joined: 15-Aug-2005

I notice the entry in the Knowledge base titled. "Is it possible to change the default edit mode for a module so that it is READ_ONLY rather than Exclusive Edit?"
My question is if an Administrator can do this at a system level. I want the default for all users that double click on a module to be open in "read only".

Report this to a Moderator Report this to a Moderator
 15-Aug-2005 22:54
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Aaaaaa. So folks are double clicking on module that they intend only to Read, and are locking it up all day, yes? I hate it when that happens.

The default behavior for "double clicking on a module" is controlled at the Client's machine. Its held in the registry, currently \\HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\v7.1 variable "defopenmode". While you are at it be sure to update variable "defopenlinkmode" which controls the open mode when you follow a link. Yes, I think its best if both are set to "READ_ONLY". Search for "defopenmode" in the DOORS manual. You can write a simple registry-update file that users can double click on to update these variables. The difference between that and encouraging folks to edit their registries by hand is huge.

I doubt its possible to write a pre-module open Trigger that somehow knows the method used by the user to open the module, double click, pull down, cntr-E, follow a link. But if a trigger could know that then yes you can control the default open behavior. ..Err.. when a couple of us who are familiar with triggers could do it.

I have written a trigger that disallows "E" or "S" open modes when the user has only "R" access, but that trigger isn't so useful anymore since DOORS auto removes those options from the menus.

And you CAN write a module open trigger that auto updates someones registry, and will apply the next time they start DOORS. I don't think that's a swell idea.

- Louie
Report this to a Moderator Report this to a Moderator
 23-Aug-2005 18:35
User is offline View Users Profile Print this message


Raj kamdar

Posts: 7
Joined: 19-Oct-2004

Once I go to registry don't see the folder call: defopenlinkmode !!
Report this to a Moderator Report this to a Moderator
 23-Aug-2005 21:50
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

There is no such folder. Once you are in the correct "Config" folder (do you see "ComputerName"?), then you would add a new "string value". Rename it to "defopenlinkmode". Then populate its data value.
Report this to a Moderator Report this to a Moderator
 23-Aug-2005 21:50
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

There is no such folder. Once you are in the correct "Config" folder (do you see "ComputerName"?), then you would add a new "string value". Rename it to "defopenlinkmode". Then populate its data value.
Report this to a Moderator Report this to a Moderator
 2-Dec-2005 18:52
User is offline View Users Profile Print this message


Ben Kugielsky

Posts: 1
Joined: 2-Dec-2005

Here's a script that will do it, just copy into notepad and save as .reg


REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\7.1\Config]
"Defopenmode" = "READ_ONLY"

Report this to a Moderator Report this to a Moderator
 2-Dec-2005 21:30
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes that'll work. Create a file, perhaps "DefOpenMode.reg" and then have folks double-click on it. While you are at it, I'd add "DefOpenLinkMode" = "READ_ONLY" also. Oddly, the READ_ONLY must be upper case but the variable name doesn't care.

I'd like to bring folks attention to the "REGEDIT4" line. That marks this reg file as beeing suitable for registry editors in Win-98 (or was it Win-95?) or later versions, which means this file works for all current versions of the Regedit.exe. If you export from Regedit.exe you'll get a file that has a longer identifier in it; but then that file will NOT work for older versions of Regedit, although there is no particular reason why it shouldn't.

Thus, folks who create a registry update file via Export from Regedit should replace the first line with "REGEDIT4" to insure all clients can actually use it.

- Louie
Report this to a Moderator Report this to a Moderator
 5-Dec-2005 18:56
User is offline View Users Profile Print this message


Richard Good

Posts: 152
Joined: 22-Mar-2005

My guess is that you probably don't want to go to the effort of altering the registry on all your users machines.
My reccommendation is to instead issue all your users with a new shortcut which utilises a command line switch to set the default mode of opening modules ie "-o READ_ONLY -O READ_ONLY".
Hope that helps

-------------------------
Regards,

Richard Good
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.