Configuring a Level to Use Display Values
An InterSystems IRIS class property can have both a stored value and a displayed value, via the VALUELIST and DISPLAYLIST property parameters. For example:
Property Gender As %String(VALUELIST = ",F,M", DISPLAYLIST = ",Female,Male");
When you use such a property as a level, by default, the system uses the value given in the VALUELIST parameter.
In the level definition, if you select the Use value in DISPLAYLIST option, the system uses the value given in the DISPLAYLIST parameter instead. For example:
Examples
The SAMPLES namespace provides the following examples of levels that use the Use value in DISPLAYLIST option: