Want to automatically populate data dictionary from your Domain Map?
You have probably invested a large amount of time and effort in building
the taxonomy describing the relationships that exist within your company.
Using the BSS API you can build your data dictionary entries based on your Domain
Map entries. This ensures that your data dictionary always mirrors your agreed
domain values.
Read more about Content Intelligence Services in the Developer Program's
CIS Overview paper.
Populating the data dictionary
Download the
'Using CIS to Populate the data dictionary' code from the Developer
Program. The code is actually very straightforward, you pass in
- Concept Type, (the path to the part of the taxonomy containing the values)
- Docbase Type, (the Docbase object type containing the attribute to populate)
- Attribute, (the Attribute to set the data dictionary entries for)
The Application then gets the values from the specified concept type and
builds then executes a DQL query in the form,
ALTER TYPE myType MODIFY (myAttribute (VALUE ASSISTANCE IS LIST (’val1’,’Val1’,’Val3’) IS COMPLETE )) PUBLISH
This sets the data dictionary entries for the specific attribute to the related
domain values.
|