Skip to main content

Configuring a Level to Use Display Values

Configuring a Level to Use Display Values

A Caché 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:

generated description: genders

Examples

The SAMPLES namespace provides the following examples of levels that use the Use value in DISPLAYLIST option:

  • The Gender level in the Patients cube.

  • The Channel Name level in the HoleFoods Sales cube.

FeedbackOpens in a new tab