Configuring bindings

The <BINDINGS> element contains the binding definitions to link data from the GIS dataset to an Infor Public Sector component property.
<BINDINGS>
  <BINDING bindto="">
    <DATASET alias="">
      <BIND field="" property="" default=""/>
      <BIND field="" property="" default=""/>
      <BIND field="" property="" default=""/>
    </DATASET>
    <DATASET alias="">
      <BIND field="" property="" default=""/>
      <BIND field="" property="" default=""/>
      <BIND field="" property="" default=""/>
    </DATASET>
   </BINDING>
</BINDINGS>

The <BINDING> element contains the binding definition, with the bindto attribute specifying the target for the Data Miner to bind the data. For some types of records you only need to specify the moniker of the object that you want to bind to, such as {Inforclient.MyAddresses.GISAddress}. For CDR application details, you must provide additional information about the detail.

For example, to bind to a BuildingApplication detail page you would set the bindto attribute to something like ApplicationDetails[ApplicationDetailType.Description=GIS Information].{InforClient.GISFamily.GISDetailObj}. In this example, ApplicationDetails is the property of the BuildingApplication component that is used to get all application detail pages/components.

Because an application can have multiple details, you must also set a filter to find the appropriate detail. In this case, [ApplicationDetailType.Description=GIS Information] is the filter. The description is specified in the Description field of the Application Details dialog box in Infor Public Sector.

Finally, {InforClient.GISFamily.GISDetailObj} is the moniker of the agency component.

To bind to a detail grid, set the bindto attribute to something like ApplicationDetails[ApplicationDetailType.Description=GIS Information].{InforClient.GEO.GISDetailsPage+GISDtlGrid}. In this example, GISDtlGrid is the property of the agency component that returns the component collection that the grid is bound to. To find this property, refer to the Bind property of the grid control in the Page Editor.

Datasets

Each <BINDING> element has one or more <DATASET> elements as children, which bind fields in the GIS dataset to properties of the agency component. For the alias attribute of the <DATASET> element, specify the alias that is used in the MapDrawerDatasets configuration.

For each child <BIND> element, use the field attribute to specify a field name from the dataset, and use the property attribute to specify a property of the component identified by the bindto attribute. Optionally, you can use the default attribute to specify a value to display if no data is found.

Note: Depending on the GIS source, the alias and field attributes may need to be fully qualified.