## Document Fieldsets

Document Fieldsets allow you to associate custom metadata with documents in the repository.

There are two types of document fieldsets:

- Normal - users are allowed to edit normal fieldsets only if they have been associated with the document type that is being edited.
- Generic - users may add and edit generic fieldsets to any document type in KnowledgeTree.

Note: KnowledgeTree auto-generates an editable system name (namespace) for every fieldset. Plug-ins use this namespace to call the fieldset, and to control how the fieldset works. For more information on developing Plug-ins for KnowledgeTree, see the KnowledgeTree Wiki at http://support.knowledgetree.com/confluence/

## Document Fields

KnowledgeTree uses fields to group sets of related information into predefined fieldsets. The custom fieldsets are then associated with specific document types, to define the information (metadata) that should be included on documents of that type.

There are three classes of custom fields in KnowledgeTree:

- Normal - stores text metadata, such as invoice code
- Lookup - used to allow users to select from a predefined set of options
- Tree - used to allow users to select a metadata value by browsing a tree structure

### Managing Tree Fields

Trees can have multiple sub-categories and levels. You need to add sub-categories at each level in order to organize the options into a 'tree'.

The top level of the tree is called the root. The root, which holds all the top level items, is not shown to the user, but it provides a single 'parent' to the top level items.

For example, let's say you create a tree of the countries in the world. In this case, the actual countries would be keywords - e.g. South Africa, England, Singapore, etc. And the highest group of categories (the top level or 'root') would be continents - e.g. Africa, Europe, Asia etc. The sub-categories, which fall below the top level 'continents' could be 'regions' - e.g. Sub-Saharan Africa, Western Europe, South East Asia.

KnowledgeTree allows you to create more sophisticated tree fields on the Edit Lookup Tree page.