7.4 Example: Metamodel Property Page

The Alarm Ratio Bar implementation example uses an Operations Center metamodel property page with five computed fields providing the alarm counts for each of the five main alarm conditions.

The Web 2.0 Connect remote method for element attributes returns the requested element attributes as a collection <attribute/> tags with each attribute having a <stringValue/> tag for the actual value and a <type/> tag for the data type of the attribute:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ns2:attributes xmlns:ns2="http://api.bsm.netiq.com/moweb2cn">
<identity>identity:dname:7PfStLXR6bwONHfRsuzGMnXScr3RtLkT7ClSczlT3rFScTXRcbwONHfRsvp</identity>
  <attribute>
    <stringValue>50</stringValue>
    <type>StringType</type>
  </attribute>
<attribute>
    <stringValue>5</stringValue>
    <type>StringType</type>
  </attribute>
<attribute>
    <stringValue>50</stringValue>
    <type>StringType</type>
  </attribute>
<attribute>
    <stringValue>30</stringValue>
    <type>StringType</type>
  </attribute>
<attribute>
    <stringValue>10</stringValue>
    <type>StringType</type>
  </attribute>
</ns2:attributes>