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: Creating a custom template
Topic Summary: Need advice on creating my own templates
Created On: 11-Oct-2004 13:48
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.
 11-Oct-2004 16:07
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The following is a kitchen script that creates a DXl template file from the current module.


-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 18-Oct-2004 13:03
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Don't confuse DOORS templates with "real" templates.
A DOORS template merely contains the heading structure, hence the very simple syntax of template DXL.

If you want to create a more complex template that defines attributes, views etc then you need to write DXL to do this. We use XML for exporting and importing DOORS data, but that may be a bit over the top for what you want.

Might I suggest that the best solution would be to generate DXL code instead of XML. This DXL could then be run to create the views/attributes you need.

If I have time I'll try to bash out an example of what I mean.


-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 18-Oct-2004 15:21
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 38
Joined: 4-Oct-2002

You could try 'cloning' a module. This allows you to copy any or all of
attributes, attribute definitions, veiws and headings.

-------------------------
Hazel Woodcock
Report this to a Moderator Report this to a Moderator
 19-Oct-2004 13:20
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Hazel's solution is the best. Sometimes I get so caught up in using DXL that I forget to look at what you can do with the DOORS GUI anyway.

-------------------------
Tony Goodman
http://www.smartdxl.com
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.