You can create field values to restrict the values of a property to a list of allowed values. Configure values that are meaningful to users so that the purpose of each value in the list is clear. For example, to prepare a list of values that a hospital administrator uses to select a medical procedure code, use a simple, readable name, such as appendix removal.
- In the header of Dev Studio, click .
- In the Label field, enter a description for the field value.
- In the Field Name field, enter the name of a single-value
property.If this field value supports language localization by using a language-specific ruleset, enter language-specific descriptive text for the value.
- Click View additional configuration options.
- In the Translated value field, enter a literal constant that
is an acceptable value for the field name property, using only letters, numbers,
single spaces, and a hyphen.The value might display in a selection list or other aspects of the application user interface, so choose text that is meaningful to your user community. Enter no more than 64 characters. If the class and field name key parts together identify a
Single Valueproperty that has a maximum length value of less than 64, that limit applies.
- In the Context section, in the Apply to field, select the class in which you want to apply the allowed value.
- Click Create and open.
- Click Save.