Sample templates are provided as part of the default installation
of Rational® Publishing Engine.
Use and customize these templates to learn how to use Rational Publishing Engine.
Procedure
- In the Document Studio application, click . The New Template
Wizard opens and you can click Next.
- In the Select Starting Template window,
select Create a New Template starting from an existing
base Template.
- Click Browse.
- Open the %RPE_HOME%\source\ directory.
- Open a sample type directory and its examples folder.
- Select a sample .dta file.
- To use the data source schema, styles, and master pages
but remove the elements from the template content editor, select Clear
Template Content.
- Edit the Name and Description fields.
- Click Next.
- In the Title Page window,
select an option for the title page.
- To use an existing title page, select No Title
Page/Use existing Title Page, and then click Next.
- To create a title page, select Define Template
Title Page.
- Select the elements to be included in the Template and click Next.
- In the Data Sources window,
choose your data sources.
- To add a data source:
- Click Add. The New Data Source window
opens.
- Specify the data source type, data source file, data source ID,
and description.
- Click OK.
- Repeat to create other data sources.
- Click Next.
- To modify the data source that was used in the base template:
- Select the data source.
- Click Edit.
- Specify the data source type, data source file, data source ID,
and description.
- Click OK.
- Repeat for other data sources.
- Click Next.
- To remove a data source:
- Select the data source.
- Click Remove.
- Repeat for other data sources.
- Click Next.
- In the Master Page window,
choose your master page structure.
- To create a master page:
- Click Add. The New Master Page window
opens.
- Specify a name, description, page orientation, and page size.
- Click OK.
- Repeat to create other master pages.
- Click Next.
- To modify the master page that was used in the base template:
- Select a master page.
- Click Edit.
- Specify a name, description, page orientation, and page size.
- Click OK.
- Repeat for other master pages.
- Click Next.
- To remove a master page:
- Select the master page.
- Click Remove.
- Repeat for other master pages.
- Click Next.
- In the Variables window,
choose your variables.
- To create a variable:
- Click Add. The New Variable window
opens.
- Specify a name, description, default value, and access type.
- Click OK.
- Repeat to create other variables.
- Click Next.
- To modify the variables that were used in the base template:
- Select a variable.
- Click Edit.
- Specify a name, description, default value, and access type.
- Click OK.
- Repeat for other variables.
- Click Next.
- To remove a variable:
- Select a variable.
- Click Remove.
- Repeat for other variables.
- Click Next.
- Review the information in the Summary window
and click Finish.
- Click or click the Save icon
on the toolbar. Select a location and enter a filename with a .dta extension.