Sample templates

You can find a collection of sample templates that comes with the Rational® Publishing Engine installation available in the RPE_HOME/templates directory. Some of the templates in the collection were available in earlier releases of the product and were relocated from the RPE_HOME/source directory.

About this task

Table 1. List of sample templates
Directory File name and description
RPE_HOME/templates/DM
DM_Project.dta
Prints details about projects such as package, use case, and sequence diagrams.
RPE_HOME/templates/DNG
DNG_Module.dta
Prints resources in a module.
DNG_Resources.dta
Prints details of Rational DOORS® Next Generation resources.
RPE_HOME/templates/DOORS
doorsData.dta
Generates a document with all the objects from the same heading object grouped in a single table.
doorsDataWithSummary.dta
Prints Rational DOORS module object details along with summary.
doorsDynamicDSConfiguration.dta
Uses data source dynamic configuration to iterate through all database items and extract data from a specific module. Uses an external variable to specify the module name.
doorsExternalLink.dta
Displays Rational DOORS external links with the description and URL.
doorsExternalPictureLink.dta
Displays Rational DOORS external link images. Creates each image from the URL when the link description contains a picture.
doorsHeading1Chapters.dta
Creates a new section for each Heading 1 and children objects.
doorsInnerLink.dta
Extracts Rational DOORS object text, headings, and links.
doorsNativeFilter.dta
Example for using Rational DOORS native filters. The query on queryRow contains a native filter.
doorsNativeSort.dta
Example of using Rational DOORS native sort. The sort is applied to the query on queryRow. The sort expression is made of two basic sorts:
  • ascending Last Modified On
  • ascending Absolute Number
doorsRPEFilter.dta
Example for using Rational Publishing Engine (RPE) filters. The query on queryRow contains a RPE scripted filter.
doorsRPESort.dta
Example of using Rational Publishing Engine (RPE) sort. The sort is applied to the query on queryRow. The sort expression is made of two basic sorts:
  • ascending Last Modified On
  • ascending Absolute Number
doorsView.dta
Generates a document of the selected Rational DOORS view. The main column is highlighted (cell background) and its width is set to 350.
Tutorial_DOORS.dta
Sample template that prints Rational DOORS object heading, text and linked object text.
RPE_HOME/templates/DOORS/db-structure
doors-structure.dta
Generates a Rational DOORS database structure tree, such as folders, projects, and modules.
RPE_HOME/templates/DOORS/doors-discussions
doorsObjectDiscussions.dta
Extracts Rational DOORS object text and object headings, and displays a discussions list.
RPE_HOME/templates/DOORS/doors-multimodule
RPE_DOORSMultiModuleGeneration.dta
Generates document from multiple Rational DOORS modules. Before you start the document generation, you can modify the list of Rational DOORS modules in the RPE_DOORSDataList.xml file. Rational Publishing Engine iterates this list and reconfigures the template data source with the information read from the list.
RPE_HOME/templates/REST
ReqProSRRequirements.dta
Prints details about software requirements, such as traces from requirements and suspects.
RSCDemo.dsx
This document specification uses the following 3 templates with data sources configured to use data services for an integrated installation of Rational ClearQuest® and Rational RequisitePro® deployed on the local machine:
  • RSCDemoIntro.dta
  • RSCDemoCQDefects.dta
  • RSCRequirements.dta
RSCDemoCQDefects.dta
Prints details about Rational ClearQuest defects, such as ID, headline, priority, state, and severity.
RSCDemoIntro.dta
Prints a cover page with details of author, date, status, and distribution.
RSCRequirements.dta
Prints details about feature requirements, such as tag, text, priority, status, traces from relationships, and traces to relationships.
Tutorial_REST.dta
Sample template that prints the package name and description along with the requirements in the package.
RPE_HOME/templates/RQM
QM_TestcasesWithTestscripts.dta
Prints test case details along with the test script, including test steps.
QM_TestPlanWithTestcases.dta
Prints test plan details along with its test cases and test scripts, sorted by test case ID.
RPE_HOME/templates/RTC
RTC_WorkItems.dta
Prints work items planned for a release in table format along with a summary.
RPE_HOME/templates/XML
requisitepro.dta
Prints requirements in a Rational RequisitePro project.

Procedure

  1. In Document Studio, select File > Open Document Template.
  2. In the Template Selection wizard, select Open Local or Remote.
  3. In the Select templates to open field, type the file path or click the Browse button and navigate to a sample template under the RPE_HOME/templates directory, where RPE_HOME is the installation directory for Rational Publishing Engine.
  4. Click OK. The sample template opens in the Document Studio editor.

Feedback