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

Lexicon Lookup

Lookup Specification Grooper.Core

Performs a lookup against a Lexicon.

Remarks

The Lexicon Lookup object enables Grooper to validate and/or populate Data Fields by searching for values in a Lexicon.
This provides a simple, portable alternative to Database Lookup for small or static data sets, or when lookups are based on a single field value.


Purpose and Scenarios

  • Field Validation: Ensure a field value exists in a Lexicon (e.g., validating a country, state, or code).
  • Field Population: Populate one or more fields with values from the Lexicon when a match is found.
  • Reference Data: Use a Lexicon as a source of valid values for dropdowns, picklists, or auto-complete.

Supported Scenarios and Examples

  • Validation Only:
    Use a simple Lexicon with one entry per line to validate a field.
    Example:

  • Key-Value Population:
    Use a lookup Lexicon with key-value pairs (e.g., state abbreviations to state names):

  • Multi-Column Population:
    Use a Lexicon with delimited values to populate multiple fields:
    Map columns to fields using the 'Field Mappings' and 'Column Delimiter' properties.

  • Fuzzy Matching:
    Set 'Similarity' below 1.0 to allow approximate matches (e.g., for OCR or user entry errors).


Best Practices

  • Use Lexicon Lookup for small, static, or frequently referenced data sets.
  • For large or frequently changing data, consider Database Lookup or CMIS Lookup.
  • When populating fields, ensure the Lexicon is of type 'Lookup' and that mappings are correctly configured.
  • Use diagnostic output to troubleshoot lookup failures or unexpected results.

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

Properties

NameTypeDescription
General
Lookup Options
Lookup Info

See Also

Used By

Notification