Document Types > Document Type Configuration (.dcf) > Setting Attributes as Profiling Attributes
Setting Attributes as Profiling Attributes
You can designate attributes in a document type's .dcf file to be profiling attributes. In this case, you can view the attribute in the Modify Attributes dialog box, the Document Map, and Column view, but you can only change the value of the attribute in the Apply Profiles dialog box. In the Document Map and Column view, the Apply Profiles dialog box opens automatically when you click the mouse pointer on a profiling attribute. Attributes set as profiling attributes must also be contained in the document type's profiling configuration (.pcf) file.
To set attributes as profiling attributes:
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 AttributeOptions element in the DCF Editor. If the file doesn't include a AttributeOptions 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 AttributeOptions element.
6. Place your cursor next to the AttributeOptions element, choose Insert > Markup, and then choose AttributeOption.
7. Click next to the AttributeOption 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. Enter the name of the attribute that you want to set to read-only in the attribute field.
9. Choose yes in the profiling field if you want to make the selected attribute a profiling attribute in Arbortext Editor. The default setting is no.
10. Click OK.
11. Choose File > Save to save the changes you have made to the .dcf file.