Instructions for importing a vocabulary file into the Service Builder.
Context
After a vocabulary file has been uploaded into the central Vocabulary Repository, you can
import it into the Service Builder to annotate data model artifacts. Subsequently,
to import a vocabulary file into the Service Builder and use this for working with
annotations, proceed as follows:
Procedure
- Start the Service Builder in transaction
SEGW.
- In edit mode, right click the Data Model folder in the
tree view and choose . This menu option is only available for projects created of type
Service with Vocabulary-Based Annotations.
- In the Vocabulary Repository, select the vocabulary file you want to use and
choose Continue. A new folder entitled
Vocabularies is created for this data model in tree
view and the vocabulary file is imported.
- Double-click the Terms node in the
Vocabularies folder to see the details of the
imported vocabulary files in the mass maintenance view.
Results
After the vocabulary definitions have been added to the data model, you can use
these terms to annotate the data model artifacts as they can be applied.
Note Parsing
will treat both V3 and higher terms as valid items and update appropriately. For
example, both Value Term (V3) and Term
(higher terms than V3) are valid and will be updated to Term
node. Both Using and Reference ->
Include elements are valid to reference a vocabulary definition.
When adding vocabularies into the data model, if the referenced vocabulary is
available in the Vocabulary Repository, then it will also be imported into the data
model in the Implicit References folder.