Document Types > DITA .dcf Settings > Specifying the DITA Key Definition Attribute
Specifying the DITA Key Definition Attribute
To define attribute used for key definitions for a DITA document type, you must define the attribute in the document type's .dcf file. The key definition attribute will be used for defining key definitions in a DITA map. Note that if the key definition attribute is not set for a DITA document type, Arbortext Editor provides a default value of keys.
To specify the DITA key definition attribute:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type 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 Options element in the DCF Editor. If the file doesn't include an Options 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 Options element.
6. Inside of the Options element, locate the DitaOptions element. If the file doesn't include a DitaOptions element, add one.
7. Place your cursor to the right of the DitaOptions element, and choose Edit > Modify Attributes or click on the Modify Attributes toolbar button 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. In the keysAttribute field, enter the name of the key definition attribute used in your document type.
9. Click OK.
10. Choose File > Save to save the changes you have made to the .dcf file.