DATE:
AUTHOR:
Ashley Mulligan
Impacts Platform

More matching control with a configurable Category field match strategy

DATE:
AUTHOR: Ashley Mulligan

You can now specify which match strategy you want to use when matching for Category field type options (aka OptionField), allowing you even more control over the matching experience. 

By enabling an exact match strategy, Flatfile will no longer recommend based on similarity but will match based on exact text string (case insensitive).

How to configure:

PLATFORM SDK CONFIGURATION Learn more

department: OptionField({
  label: "Department",
  matchStrategy: "exact", // default is: fuzzy
  options: {
    engineering: "Engineering",
    hr: "People Ops",
    sales: "Revenue",
  },
});

JSON SCHEMA / UI-BASED CONFIGURATION

"department": {
  "type": "string",
  "label": "Department",
  "enum": [
    "engineering",
    "hr",
    "sales"
  ],
  "enumLabel": [
    "Engineering",
    "People Ops",
    "Revenue"
  ],
  "enumMatch": "exact" //This is where you can choose enumMatch "exact"
}
Powered by LaunchNotes