文書型 > Creating a Document Type Definition (DTD) > Configuring the Document Type Information in the New Document Dialog Box
  
Configuring the Document Type Information in the New Document Dialog Box
Once you have created and installed a document type, you can configure a template and sample file that users can access from the New Document dialog box. In addition, you can also specify a category and description for the document type, that will display in the Category and Type lists in the New Document dialog box. If desired, you can also suppress a document type from appearing in the New Document dialog box
To configure document type information in the New dialog box:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify is saved and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the NewDialog element in the DCF Editor. If the file doesn't include a NewDialog element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the NewDialog element.
6. Place your cursor next to the NewDialog element, choose Insert > Markup, and then choose New.
7. Click next to the New element to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. Type a name for the document type in the description field. This name displays in the Type list in the New Document dialog box.
9. Type a category name for the document type in the category field. This name displays in the Category list in the New Document dialog box.
Note that this step is optional. You can also designate a category name in the custom.xml file in the custom directory.
10. Type the name of the sample file in the sampleFile field. Users can access this file by selecting the Sample option for the document type in the New Document dialog box.
11. Type the name of the template file in the templateFile field. A template file is a tagged document containing elements that are normally required in a document using that DTD. This file displays when users select the document type from the Type list in the New Document dialog box.
12. Click OK.
13. Repeat the previous steps (starting with the step in which you insert a New element) to configure additional template and sample files for your document type.
14. Choose File > Save to save the changes you have made to the .dcf file.
Suppressing a document type from displaying in the New Document dialog box:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify is saved and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the NewDialog element in the DCF Editor. If the file doesn't include a NewDialog element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the NewDialog element.
6. Place your cursor next to the NewDialog element, choose Insert > Markup, and then choose New.
7. Click next to the New element to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. Change the value in the suppress field from no to yes.
9. Click OK.
10. Choose File > Save to save the changes you have made to the .dcf file.