Defining annotation fields
The first step in configuring the annotation tool is to define the fields from the annotation feature service that will be available. These fields are displayed in the attribute inspector, which shows details about a selected annotation. They are also displayed in the annotation filter, where they can be used to filter the annotations that are displayed on the map.
To define fields, add the
node as a child of the node. Then add a child node for each attribute that you want to show.- For the name attribute, specify the name of the field as defined in the annotation service.
- If the field corresponds to a field in the Infor Public Sector database, you can use the h8type attribute to specify the field type.
See FIELDINFOS for descriptions of all of the available attributes. A sample configuration is shown below.
<FIELDINFOS>
<FIELDINFO hidden="False" name="H8KEY" alias="IPS Key" sticky="False"
h8type="H8KEY" readonly="True" />
<FIELDINFO separator="." hidden="False" name="H8MONIKER"
alias="IPS Moniker" autoSelect="True" sticky="False" renderer="hierarchical"
h8type="H8MONIKER" readonly="False" />
<FIELDINFO disabled="False" name="H8SUBTYPE" alias="IPS Type"
sticky="False" renderer="pseudoDomain" readonly="True" autoSelect="True" />
<FIELDINFO default="1" disabled="False" hidden="False" name="H8STATUS"
alias="Status" keywords="Enabled,Disabled" sticky="False" renderer="none"
h8type="H8STATUS" readonly="False" autoSelect="True" />
<FIELDINFO disabled="False" hidden="True" name="OBJECTID"
alias="Object ID" />
<FIELDINFO default="[comments appear on the feature label]"
disabled="False" name="H8COMMENT" alias="Comment" sticky="False"
renderer="none" h8type="none" />
<FIELDINFO disabled="False" name="H8DESCRIPTION" alias="Title"
sticky="False" renderer="none" h8type="none" readonly="False" />
<FIELDINFO default="30" name="H8EXPDATE" sticky="False"
h8type="H8EXPDATE" alias="Expiration Date" />
<FIELDINFO disabled="False" hidden="False" name="H8REGION"
alias="Drawing Type" autoSelect="False" sticky="False" renderer="pseudoDomain"
h8type="none" readonly="False" />
</FIELDINFOS>