6. Click Preview . This should display a preview of the dialog. You can change the windows’ Width  and Height  options if you want to modify the dimensions. 

7. Click OK  to save the changes. 

8. Under Document Template - Add , expand Group . Click the New  icon in the Designer title bar. Add the groups: 

–g r p S a l e s 

– grpServices 

–g r p M a r k e t i n g 

–g r p V i e w r 

– grpManagers 

– grpFinancial 

## Create the stateless class (Document Template) 

In the Designer, open Global - [Administrator]  as before, open the Desktop , open Item Type , open the LibraryObjects  item type. Select Classes  and click the New  icon in the Designer title bar. Follow these steps: 

1. Populate the top section of the window: 

a. In the Name  field, type Document Template. 

b. In the Type  pick-list, select Stateless . 

2. Click OK  to save the changes. 

## Associate action and dialogs: Add and Modify 

Expand the Document Template Class. You will see the folder Actions and Dialogs . Follow these steps: 

1. Go to Desktop , Actions and Dialogs  and select Document Template - Add dialog. 

2. Drag it to the Actions and Dialogs folder under Document Template Class. 

## 9.6.2 Add a new document in the Document Template class 

You need to upload in Document Manager the document you will associate as a template. Follow this instructions: 

1. Log on to Document Manager Desktop  as usrSale . 

2. Click Add Document . 

3. Select the document that you will use as a template from the file system. 

4. Click Open . 

5. Select Document Template  for class . 

