You can create a blank template, start with an existing
template and use its content, start with an existing template and
remove its content, or start with a sample template.
Procedure
- In the Document Studio application, click . The New Template
Wizard opens and you can click Next.
- In the Select Starting Template window,
specify a new or existing template.
- To create a template, select Create a New Template and
click Next.
- To start with an existing template, select Create
a New Template starting from an existing base Template.
- Click Browse and select an existing template.
- 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.
- 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.
What to do next
To view the raw schema:
- Click .
- Expand RPE.
- Select RPE Document Studio.
- For the Use Schema annotations for display option,
select No.
- Click OK to save the change.
When displaying a data source schema, the
label annotation
is used if present. You can display the names in the
Rational® Publishing Engine browser.
See
Setting preferences.