General
...
The controlled vocabularies for Units and Bibliographic Indentifiers stored in a YAML file located in avalon/config/controlled_vocabulary.yml. The controlled vocabulary file has key/value pairs that store. This file is loaded every time it is needed and is never cached.
...
Therefore, the file can be changed without restarting Avalon.
Code Block | ||
---|---|---|
| ||
#units: Each list member- isUniversity prefixedArchives with a hyphen- andArt indentedCollection with two spaces. # The Avalon codebase uses two spaces for indentation. units: - University Archives - Art Collectionidentifier_types: local: Catalog Key oclc: OCLC lccn: LCCN other: Other |
Changing and Removing Unit Names
The purpose of the unit vocabulary is to ensure that collections are saved with a proper unit. Changing or removing unit names in the controlled vocabulary file will not update or remove those unit names from collections.
Ordering
Unit vocabulary names Vocabulary items are shown in the collection create/edit interface based on their insertion order in the controlled vocabulary file. Ordering of Units has no effect on the order in which facet values appear in the search interface.