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: Share DXL Scripts
Topic Summary: Share DXL Scripts via a common Server
Created On: 12-Mar-2007 20:06
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 Chris Annal, on Thursday, March 15, 2007 7:26 PM

Answer:
Shawn's approach is how we handle this at our company, too. Search the web for instructions in regard to creating a registry file (Windows Registry Editor) - by using your Windows Start button and "Start...Run", then typing "regedit" in the Run window. Look for the Telelogic/DOORS/8.1 (or whatever your version is)/Config folder. It would be under "HKEY_LOCAL_MACHINE\SOFTWARE" and look something like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\8.1\Config]

It would also include the "menu" names (determined by you), such as:
"AddIns"="<network_folder>:\\APPS\\Doors User Files"
"ProjectAddins"="<network_folder>:\\APPS\\Doors User Files\\ProjectAddins"

In any network folder, in order for the scripts to appear on a DOORS menu in an open module, you would need to have .hlp and .idx files with the names that reflect the folder that contains them.
For instance, take a look at your present local install of DOORS, and in the C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\addins\user folder, you'll see a user.hlp file and a user.idx file. The network folder you create will have to have similar files for network_folder_name.hlp and network_folder_name.idx.

This sounds like a lot of work, but your IT department can help you with this. When you're done, you just send the registry file to your DOORS users (after testing it out on a few, of course) and they will have new menu items, right on the top menu of their DOORS modules, for any scripts that you placed in the network folder. Sweeeeeet.


I hope this helps!!
Chris Annal
chrisa@sensis.com

 12-Mar-2007 20:06
User is offline View Users Profile Print this message


Melissa Kirkland

Posts: 3
Joined: 10-Jan-2007

I have been developing a bunch of DXL scripts that I would like to give others access to. Is there a way to specify within you ".idx" or ".hlp" files that the actual dxl scripts are stored on a specified server. Any help would be greatly appreciated.
Report this to a Moderator Report this to a Moderator
 13-Mar-2007 08:45
User is offline View Users Profile Print this message


Robert Swan

Posts: 86
Joined: 14-Apr-2005

My solution to this was to use the '-a' switch on the DOORS shortcut on the users desktop, and add the following switch setting (including the quotes) to the 'Target' field. -a "\\\\servername\\DOORS Common Area\\addins" On the Server create the 'DOORS Common Area\\addins' directory and populate it with your dxl,idx and hlp files as usual. You will need to make sure any include files are available from below that addins directory too. Make the same changes to the properties of the DOOSR entry on the Start>Programs button.
Report this to a Moderator Report this to a Moderator
 13-Mar-2007 13:24
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

What we have is just a DOORS module anyone can read to get user scripts I write. They just copy them into their user directory.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 13-Mar-2007 23:41
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I think you are asking: you'd like a common spot where folks can find scripts, but in that spot you have pointers to where the actual scripts are stored.

No, the idx files cannot have paths to scripts elsewhere, the scripts must be in the same folder as the ids.

However, there's nothing to stop you from having this 'script' sibling to the idx:
// FindDeletedObjects.dxl - filter for deleted objects in the module
/*
FindDeletedObjects finds deleted objects
bla bla bla
*/
#include <//MyServer/RealLocationOfScripts/FindDeletedObjects.dxl>

- Louie
Report this to a Moderator Report this to a Moderator
 13-Mar-2007 23:44
User is offline View Users Profile Print this message


Shawn Stepper

Posts: 96
Joined: 6-Aug-2004

I store all of my scripts in a shared folder on the network. When I do an install on a new client, I install a registry update that specifies the location of the shared folder. In addition, I copy 2 very basic initialization files into the local startup directories of the user. With that done, I can make all of the needed changes to the shared folder without having the users do anything. Works quite well!

Shawn

-------------------------
Shawn Stepper
shawn.e.stepper@wellsfargo.com
Report this to a Moderator Report this to a Moderator
 14-Mar-2007 15:37
User is offline View Users Profile Print this message


Chris Annal

Posts: 36
Joined: 14-Dec-2005

Answer Answer
Shawn's approach is how we handle this at our company, too. Search the web for instructions in regard to creating a registry file (Windows Registry Editor) - by using your Windows Start button and "Start...Run", then typing "regedit" in the Run window. Look for the Telelogic/DOORS/8.1 (or whatever your version is)/Config folder. It would be under "HKEY_LOCAL_MACHINE\SOFTWARE" and look something like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\8.1\Config]

It would also include the "menu" names (determined by you), such as:
"AddIns"="<network_folder>:\\APPS\\Doors User Files"
"ProjectAddins"="<network_folder>:\\APPS\\Doors User Files\\ProjectAddins"

In any network folder, in order for the scripts to appear on a DOORS menu in an open module, you would need to have .hlp and .idx files with the names that reflect the folder that contains them.
For instance, take a look at your present local install of DOORS, and in the C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\addins\user folder, you'll see a user.hlp file and a user.idx file. The network folder you create will have to have similar files for network_folder_name.hlp and network_folder_name.idx.

This sounds like a lot of work, but your IT department can help you with this. When you're done, you just send the registry file to your DOORS users (after testing it out on a few, of course) and they will have new menu items, right on the top menu of their DOORS modules, for any scripts that you placed in the network folder. Sweeeeeet.


I hope this helps!!
Chris Annal
chrisa@sensis.com

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.