Displaying the data from these fields when performing an area query

  1. In EMu, add the fields to the Web Maps report.

    Next we must tell the Web Services system about these fields.

  2. In an editor, open the file: ~/web/webservices/translator/kemnh/TranslatorFactory.php
  3. Locate the Translator used by the EMu report. Typically this will be in the form:

    CLIENTEMuTranslator

    For example, KemnhEMuTranslator

  4. In the Configure method of the Translator add translations from EMu to a convenient (more human friendly) name for use by Web Maps for these new fields. The form of this is:

    $this->setTranslation('EMu Name','Convenient Name','type of data');

    For example:

    $this->setTranslation('ecatalogue.atom[name=ColParticipantString]','Collector','string');

    $this->setTranslation('ecatalogue.atom[name=ColCollectionMethod]','CollectionMethod','string');

  5. Declare the new fields as a concept to be translated by adding them to the potentialGroups property. For example:
	var $potentialGroups = array (
		...
		...
		...
		'Collector' => '7',
		'CollectionMethod' => '8',
);

Now, when a query of points is performed, the new fields will display in the Record list.