![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Templates missing from standard templates view Topic Summary: My custom templates disapperaed from the standard templates view Created On: 18-Oct-2007 15:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I only looked at your dxl -- and in that you need to add a block style comment (multiline comment). ie., add: /* */ DOORS requires dxl script to have atleast one inline comment and one block comment to be shown in pulldown menu and shown in the dxl browse window. | |||||||||
![]() |
|||||||||
My custom templates disappeared from the standard templates view. I followed the instructions for adding templates and I was able to access my custom template from within a module. After some modifications, I can no longer able to see my templates, although I can still see the folder.
I can run the template manually, so I know it compiles OK. Also, while trying to debug this, I keep restarting DOORs to see if my changes take effect. Is this necessary? When do changes to idx, hlp and dxl files become visible? I've attached template/template.idx template/SNMP/SNMP.hlp template/SNMP/SNMP.idx template/SNMP/SnmpObjectType.dxl Note that there are 2 other dxl files in the SNMP directory that are not referenced in the idx file. These run OK when run manually as well. I suspect that I am overlooking some stupid typo. Any help would be appreciated. Thanks Jerry Flood
|
|||||||||
![]() |
|||||||||
![]() |
|||||||||
I only looked at your dxl -- and in that you need to add a block style comment (multiline comment).
ie., add: /* */ DOORS requires dxl script to have atleast one inline comment and one block comment to be shown in pulldown menu and shown in the dxl browse window. Edited: 18-Oct-2007 at 20:21 by ron lewis |
|||||||||
![]() |
|||||||||
![]() |
|||||||||
Never actually dealt with Templates, but normal DXL only appears in the menu if there is a single comment line near the top and also a multi-comment line near the top. Don't recall how far 'near the top' qualifies, but you might as well routinely put these at the top:
//SnmpObjectType.dxl Does some SNMP stuff to Object /* SnmpObjectType.dxl does a couple things A B */ The *.idx and *.dxl files are put in the menues when the window you are generating is created by DOORS. The standard DOORS explorer windows is generated at DOORS startup. The standard Module windows is generated when you open the module visibly. If you re-open the module (say, switch from Edit to Read) I don't think the menus are rebuilt. Anyway, you can make changes to idx and dxl and see their effects the next time you open a module. Note that if you build the menu and then delete the DXL, then the DXL remains in the window but won't do anything at all if you try to run it (specifically, you don't get a no-such-file error). - Louie |
|||||||||
![]() |
|||||||||
![]() |
|||||||||
That did the trick. Thanks
|
|||||||||
![]() |
|||||||||
![]() |
|||||||||
Thanks
Knowing hwo to refresh these items will save me alot of time. Jerry |
|||||||||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.