Enumerations retrieved from a database
- Last Updated: October 26, 2026
- 2 minute read
- Corticon
- Version 7.3
- Documentation
If you want your custom data type to gets its enumerated labels and values from a database, then you need to define the database table and columns that will be accessed.
This topic covers the significant points of this feature in the context of the Vocabulary.
Note: The options for SCHEMA and ENUMERATION on an EDC connection are not exposed by default. These advanced EDC features can be enabled by setting the following property in your brms.properties file:
com.corticon.studio.edc.advancedFeatures=true
Note: This functionality uses Corticon's Enterprise Data Connector. For more information, see Import possible values of an attribute from database tables
When your Vocabulary has a verified connection to a supported database, the Custom Data Types tab presents three additional columns, as shown:
These columns are how you specify:
- Lookup Table Name—The database syntax that specifies the table that has the enumerations.
- Labels Column—The column in the lookup table that holds the label. This is optional because you can elect to use only values.
- Values Column - The column in the lookup table that holds the value associated with the label or the solitary value. This is required.
The following examples show two options:
The value data is retrieved into the Vocabulary as highlighted:
Another example retrieves name-value pairs.
The label/value data is retrieved into the Vocabulary as highlighted: