![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Unable to use a customized menu Topic Summary: Created On: 25-Aug-2008 09:47 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
Hello
I'm trying to run an excel report using a DXL. Script runs fine when run from the Edit->DXL Window, and generates the Report for me succesfully. However, when I try to add it as a menu in the DOORS Db Explorer, and try to execute , I get an error 'You have no access to open the selected module for exclusive edit'. I have attached the dxl file I use in the lib\dxl\config\baseWindowMenuFiles. Has someone seen such a error?
|
|||
![]() |
|||
![]() |
|||
Does your script try to open the module in exclusive edit? The code of the menu item doesn't tell us much.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|||
![]() |
|||
![]() |
|||
As far as I can say my code doesn't try to open the module in exclusive edit. Please have a look @ the code.
|
|||
![]() |
|||
![]() |
|||
If your module has outgoing links, then DOORS may be atempting to open a linked module for exclusive edit.
When you open a linked module by right clicking on a link arrow does the other module get opened exclusive? Check the command line switches and registry for defopenlinkmode setting. ------------------------- Tony Goodman Smart DXL limited www.smartdxl.com |
|||
![]() |
|||
![]() |
|||
Tony I don't think it'd throw an error in that case. We have modules with outlinks to other modules that some of our people don't have exclusive edit access to. They haven't ever had an issue opening the module with the outlinks. We just started using the command line switch to open modules in read only when following a link as well.
I could be wrong though. As far as the script, the only thing I possibly see is that you are starting at the database root for topfoldername. Perhaps you lack any access rights to certain things in the database. Try changing it to have topfoldername be the path to the selected project as your comment implies. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|||
![]() |
|||
![]() |
|||
Not sure if this is the issue, but in contracstatus method declaration you declare a Folder with the variable "parent", I belive parent is a key word in DXL, so you might try using a different variable name like "parentFol".
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|||
![]() |
|||
![]() |
|||
Thanks for your replies.
When I try to run the script from DXL Editor window, it does run. It has a problem only when Im adding it as a menu & trying to execute the menu. |
|||
![]() |
|||
![]() |
|||
I got the menu working now; something was wrong with the menu dxl. I wrote one from scratch again & it worked
![]() |
|||
![]() |
|||
![]() |
|||
I suggest you to make a minor change to the way you have declared the path of dxl.
Current declaration is: doorsHome "/lib/dxl/standard/contracttype/Reports24Aug.dxl" Modify as ![]() string path = "#include "C:\\Program Files\\Telelogic\\DOORS_8.3\\lib\\dxl\\standard\\contracttype\\Reports24Aug.dxl". Then for the parameter where you specify the dxl file path substitute it with path without quotes. |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
Unable to use a customized menu
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.