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

CMIS Export Map - Auto Map

CMIS Export Map Command Grooper.CMIS

Automatically maps CMIS properties to Grooper fields using name similarity and type compatibility.

Remarks

The AutoMap command provides a rapid way to generate initial mappings between Grooper fields and CMIS properties for a CMIS Export Map. This command analyzes the available Grooper fields and CMIS properties, then attempts to match them based on name similarity (using Levenshtein distance) and compatible data types.

When to Use

  • When setting up a new CMIS Export Map and you want to quickly establish baseline mappings.
  • To reduce manual effort and ensure consistent, repeatable mapping logic across similar export scenarios.
  • During solution prototyping or when working with large or complex content types.

How It Works

  • For each writable CMIS property that is not already mapped, the command searches for the closest matching Grooper field.
  • Name similarity is determined using Levenshtein distance, and only matches within a configurable threshold are considered.
  • Type compatibility is checked to ensure that the Grooper field can be safely exported to the CMIS property.
  • Only unmapped properties are affected; existing mappings are preserved.

Limitations & Best Practices

  • Not all properties may be mapped automatically, especially if field names differ significantly or types are incompatible.
  • Always review and adjust the generated mappings to ensure they meet your business and export requirements.
  • Use AutoMap as a starting point, then refine expressions and handle special cases as needed.

Example Scenario

  • You have a Content Type with fields "InvoiceNumber", "InvoiceDate", and "TotalAmount", and a CMIS content type with properties "Invoice_Number", "Invoice_Date", and "Total_Amount".
  • Running AutoMap will automatically link these fields to their corresponding CMIS properties, saving time and reducing errors.

See Also

Notification