How to Add a Document Field to the Data Dictionary

If you want to add a field to hold associated documents, follow this procedure.

Note: You can also access the Archibus Field table from the System / Add-in Manager / Edit Data Dictionary task, available in Web Central or Smart Client.

To add a document field

  1. In Smart Client, select System / Add-in Manager / Edit Field Dictionary to access the Archibus Fields table.
  1. Click in the top row to create a new blank record.
  2. Specify the table to which this field belongs by choosing an existing table for the Table Name field.
  3. For Field Name, enter a value that will uniquely identify this record
  4. Enter the definition of the field in the Archibus Fields data dictionary table and set the Archibus Type to Document. For information on setting the specific properties of your new field, see Archibus Fields table (reference).
  5. Using XML, complete the Field Attributes field to control document versioning, document file naming, locking, and so forth. See the below section for details.
  6. Save the record defining your field.
  7. Run the Schema Change Wizard. For details, see General Procedure for Changing the Structure of the Database.


Archibus creates the new field and notes the association between the field and the document vault (the Archibus Documents table, the Archibus Documents Versions table, the Archibus Documents Versions Archive table).

Completing the Field Attributes field

Use XML to complete the Field Attributes field, which contains the following attributes:

Example

<root>
<documentManagement maxDocumentSize="10000000" versioningOn="true" autoNameFile="true">
<lockingOptions lockOnCheckout="true" clearLocksOnCheckIn="true"/>
</documentManagement>
</root>

See Also

Document Management Overview