Set Document As File Template — Extended Exercises
Basic Data Setup
Creating a Document Class
Purpose: The purpose of this exercise is to create a new
document class to which the document file template will belong.
Windows:
Document Basic/Document Classes
- Open the
Document Basic window the Navigator
and click the
Document Classes tab.
- Create a new row (F5).
- Call your new class XXLETTER (where XX is your initials) and enter a
short description (e.g., Letters).
- Save the new class (F12).
General exercise for
Document Basic
Main Exercises
Purpose: The purpose of this lesson is to create a new
document that will be used as a template for other new documents of the same
document class.
Windows:
Document Titles
Document Revision
Creating a Template File
- Open the Document Titles window from the Navigator.
- Create a new row (F5) and enter the following information:
Document Class |
Title |
Object
Connection |
View Copy |
XXLETTER
(where XX is your initials) |
LETTER TEMPLATE |
Optional |
Optional |
- Save the new title (F12).
- Select the new title record and right-click and click Document Revision.
- The Document Revision window opens, populated
with the first revision of your new document.
- Click Edit.
- Select MS Word in the
Choose Document
Application window.
- If the Choose Macro window opens, click Skip Macro.
- Microsoft Word is opened, displaying a blank document.
- Enter the following text into the document:
Name:
Date:
Address:
City:
Tel
no:
Letter from:
- Save the document by selecting Save from the File menu.
- Close Microsoft Word.
- Check in the document by clicking Check In in the
Document Revision window.
Setting the Document File as a File Template
A document file template is a document revision that has an attached file that
has been registered in the EDM Basic/Document File Template tab. Each
template is defined for a specific document class, a language, and a
format. This means that you can have separate templates for each language and
format of a class. You can also create general template files by entering * for
the language or format. These are then used if no template exists for a specified language and
format. It is recommended that you always use a template.
- Open the Document Revision window and query for the
document created above.
- Verify that the Language field is set to English and the Format
field is empty.
- Right-click, point to File Operations, and then click Set As Doc File Template.
Result: The document file will now function as a template for new
documents created with the same document class (XXLETTER) and language
(English). The template will be valid for all formats, since we left the Format
field empty.
Editing Document File Template Data
/EDM Basic/Document
File Template window.
-
/EDM Basic window from the Navigator and
click the
Document File Template tab.
- Populate the window (F2).
- In the Document
Class list, select XXLETTER (where XX is your initials). The document revision that you created above should be displayed in the
table.
- Enter a short description of your template in the Document File
Template Description field (e.g. English Letter Template).
- Save the new information (F12).
Note: You can have several document file templates per document
class, one for each combination of language and format.