Enumerations
You can define a set of enumerated values in the metadata and link the enumeration to an attribute (property). This is useful where an attribute has one or more values coming from a fixed set of choices.
cim1265
You can define a set of enumerated values in the metadata and link the enumeration to an attribute (property). This is useful where an attribute has one or more values coming from a fixed set of choices.
Define each enumeration once in the metadata and then link it to every attribute where you require the enumeration, for example:
<enum name="SoftdrinkVarieties"> <val ordinal="4" displayName="Orange">orange</val> <val ordinal="3" displayName="Lemon">lemon</val> <val ordinal="2" displayName="Lime">lime</val> <val ordinal="1" displayName="Cola">cola</val> </enum> <property name="eTDYN-str-multi-01"> <value> <enumValue def="SoftdrinkVarieties"></enumValue> </value>
The Provisioning Manager GUI plug-ins and web-screen renders these as drop-down lists.