Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Field Mapping

Embedded Object Grooper.Core

Defines a mapping between a value or column from a Lexicon and a Grooper Data Field for lookup population.

Remarks

The Field Mapping object specifies how data retrieved from a Lexicon during a Lexicon Lookup operation is assigned to a target Data Field. Each mapping links a field in your data model to a value or column from the Lexicon entry, enabling automatic population of multiple fields from a single lookup result.

Purpose and Usage

  • Use Field Mapping to populate one or more Data Fields with values from a Lexicon when a lookup is successful.
  • Supports both single-value and multi-column Lexicon entries.
  • For multi-column data, the 'Column Number' property determines which value is assigned to the target field.

Configuration Guidance

  • Add a Field Mapping for each field you wish to populate from the lookup result.
  • For single-value Lexicons, set 'Column Number' to 0 to use the entire value.
  • For multi-column Lexicons, set 'Column Number' to the 1-based index of the desired column.
  • Do not map the same field as both the lookup key and a target.

Best Practices

  • Ensure that each mapping references a valid target field and the correct column number.
  • Review your Lexicon structure to confirm the order and meaning of columns.
  • Test lookups with sample data to verify correct field population.

Example Scenario

For a ZIP code lookup with entries like 76049=Granbury,TX,Hood:

  • Map column 1 to a 'City' field, column 2 to 'State', and column 3 to 'County'.

For more information, see the documentation for Lexicon Lookup, Lexicon, and Data Field.

Properties

NameTypeDescription

See Also

Used By

Notification