Configuration

To configure the GIS Data Miner you can either use the DataMiner configuration in the Configuration Editor, or you can edit DataMine.config in the Infor Public Sector directory on the application server.

Editing the .config file on the server was the original method of configuring the Data Miner. The DataMiner configuration was added more recently so the Data Miner can be configured from within Infor Public Sector in a multi-tenant environment.

The configuration is the same in either case. The DataMiner configuration has a single CONFIG element with one config attribute, which stores the contents of the DataMine.config file.

To maintain backwards compatibility, the DataMiner configuration is initially blank. If the config attribute does not have a value, then the settings from DataMine.config are used. When you add the config attribute, the settings from the DataMiner configuration are used instead.

Configuration syntax

The root <CONFIG> element has one <HANDLERS> element and one or more <COMPONENT> elements as children.

<CONFIG>
  <HANDLERS>
    <HANDLER id="HansenGIS" assembly="MapConnector" class="Hansen.GIS.MapApplication" 
       method="ProcessGISDataMine"/>
  </HANDLERS>

  <COMPONENT moniker="Hansen.Property.Address_XXX">
    ...
  </COMPONENT>

</CONFIG>

To configure the Data Miner for a particular component, you must specify the component's moniker and the event or events on which you want to invoke the Data Miner. The configuration also indicates how specific data in the GIS data source is bound to properties of Infor Public Sector business objects.