![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Setting DOORS Database View Defaults for all Users Topic Summary: Created On: 17-Jul-2007 21:14 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: My original post was about loging into the server and user Windows Explorer to solve the problem, without invoking DOORS. That solution has the potential to adjust settings for all users. Tony provided some DXL that can be run from a client that adjusts the current DOORS user's settings. The problem would be to get each user to run such a DXL. I pointed out you theoretically could force folks, all folks, to run DXL by defining a database wide module-open trigger; and yes it means no action would be taken until the user opens a module. I digress... too bad there is no such thing as a database-login trigger (and also a logout trigger). Another solution would be to modify every client's local DOORS install and insert code there; that being the c:\P F\Telelogic\DOORS\\lib\dxl... stuff; I've never liked a solution like that since its an administrative nightmare, and folks can simply bypass anything you force down their thoats like that. - Louie | |
![]() |
|
As the DOORS database administrator, the most common issue encountered with new users is when they delete something and it "disappears" - they assume they have deleted the object completely from the database. Of course, if they had the checkbox for "Show Deleted Items" checked, they would see the item still exists and needs to be purged to get rid of it completely.
Similarly, I have users who are given the proper level of access to create and edit link modules, but if they don't have the checkbox for "Show Link Modules" checked, they can't even see the modules they just created. A large number of user requests could be addressed if I just knew how to set these checkboxes for ALL users by default. Is there a command line switch that could be added to the icon at the user level, or (even better) a switch that could be set at the server level to address setting these checkboxes by default? thanks, Chris Annal |
|
![]() |
|
![]() |
|
No such switches. I don't think you can use configuration files to do it since thee is no such conf context associated with someone else's user.
But if you have access to the server and know where the DB is stored, you can manipute the files that contain each user's settings. Check out this file on your DOORS server: ...\v81-Local-Data\conf\u1000005.dir\DOORS+AF8-database+AF8-explorer\settings.txt That file should contain these two lines: ShowLinkModules Yes If you could write some VBA you could look for those two lines and if there, do nothing. If these two lines are there: ShowLinkModules No Then replace them. If not, insert the above two lines. - Louie |
|
![]() |
|
![]() |
|
This probably doesn't help you Chris because it requires access to the client.
But these may be of interest to "undocumented feature" addicts. To set the display settings in the current session, set the following global boolean variables: showDeletedItems showFormalModules showLinkModules showDescriptiveModules showFolders showProjects To make these settings persist between sessions they need to be written to conf files as Louie pointed out. To do this, use: void setYesNoEnvironmentOption(string setting, bool yesno) The following string constants are defined for the settings: SHOW_DELETED_SETTING_STRING SHOW_FORMALS_SETTING_STRING SHOW_LINKS_SETTING_STRING SHOW_DESCS_SETTING_STRING SHOW_FOLDERS_SETTING_STRING SHOW_PROJECTS_SETTING_STRING These are not perms, they are global variables, so they are at risk of being changed by Telelogic without notice. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
That's VERY interesting.
You CAN get access to all the clients by defining a database-wide module-open trigger. That trigger would just run this code forcing everyone to view link modules or whatever. - Louie |
|
![]() |
|
![]() |
|
Hi Louie and Tony,
I think between the two of you I have a solution, but I'm not quite putting it all together. First you mention a file (...\v81-Local-Data\conf\u1000005.dir\DOORS+AF8-database+AF8-explorer\settings.txt) and Tony suggests that global boolean variables"...need to be written to conf files as Louie pointed out." Then the last remark is "You CAN get access to all the clients by defining a database-wide module-open trigger. That trigger would just run this code forcing everyone to view link modules or whatever." Somehow I got lost between whether I'm looking on the server at the file first suggested or looking in my own "C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\config" folder for certain files that may need to be updated. I've written triggers before, but never a database-wide module-open trigger. Would that mean that until the user actually opened his or her first module, the view settings I wanted would not be set as desired? I just want to make sure I'm looking at the right files and writing an appropriate trigger, if needed. Thanks, Chris |
|
![]() |
|
![]() |
|
My original post was about loging into the server and user Windows Explorer to solve the problem, without invoking DOORS. That solution has the potential to adjust settings for all users. Tony provided some DXL that can be run from a client that adjusts the current DOORS user's settings. The problem would be to get each user to run such a DXL. I pointed out you theoretically could force folks, all folks, to run DXL by defining a database wide module-open trigger; and yes it means no action would be taken until the user opens a module. I digress... too bad there is no such thing as a database-login trigger (and also a logout trigger).
Another solution would be to modify every client's local DOORS install and insert code there; that being the c:\P F\Telelogic\DOORS\\lib\dxl... stuff; I've never liked a solution like that since its an administrative nightmare, and folks can simply bypass anything you force down their thoats like that. - Louie |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.