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

Import Descendants

Cmis Import Base Grooper.CMIS

Imports objects from a CMIS Repository which are children or descendants of a base CMIS Folder.

Remarks

The Import Descendants provider enables the import of documents and folders from a CMIS Repository by traversing the tree structure beneath a specified CMIS Folder. This is ideal for scenarios where you need to ingest large sets of content organized in hierarchical folder structures, such as file shares, SharePoint libraries, or mailboxes.

How It Works

  • The import process begins at the folder specified by the 'Base Folder' property.
  • All child folders and documents beneath this folder are traversed recursively.
  • Only objects matching the criteria defined in the 'Import Filter' are imported.
  • Imported items are created as Batch Folders within Grooper, with Content Links referencing the original external content.

Configuration Overview

  • Repository: Select the CMIS Repository to import from.
  • Base Folder: Choose the root CMIS Folder whose descendants will be considered for import.
  • Import Filter: Define a SQL-style filter to select which objects to import. The filter supports standard CMISQL syntax, as well as Grooper-specific extensions such as the AT_LEVEL and MATCHES predicates.
  • Minimum Age: Optionally specify a minimum age (in time span format) that a file must reach before it is eligible for import. This helps avoid conflicts with files that may still be in use or being written.

Import Filter Syntax

The 'Import Filter' property uses a SQL-like syntax to define which objects are imported. For example:

  • The SELECT * clause is required.
  • The FROM clause specifies the object type (e.g., Document, Folder, Message).
  • The optional WHERE clause can include predicates such as:
    • AT_LEVEL(n): Restricts results to items at a specific level below the base folder.
    • IN_FOLDER(path) or IN_TREE(path): Restricts scope to a specific folder or its descendants.
    • Property comparisons (e.g., cmis:name LIKE 'Invoice%').
    • IN, LIKE, and MATCHES for advanced filtering.

> Note: Some predicates, such as MATCHES, are Grooper-specific and not supported in standard CMISQL queries.

Usage Scenarios

  • Bulk Import: Efficiently ingest large folder hierarchies from file systems, SharePoint, SFTP, or Exchange.
  • Incremental Import: Use the 'Minimum Age' property to avoid importing files that are still being modified.
  • Selective Import: Use the 'Import Filter' to target only specific file types, names, or metadata values.

Best Practices

  • Use the Browse tab in Design mode to visually inspect the CMIS Repository and identify the correct base folder and filter criteria.
  • When importing from locations where files may be in use, set an appropriate 'Minimum Age' to prevent partial or locked file imports.
  • Test your filter using the query editor to ensure it selects the intended objects.

Related Concepts

  • CMIS Repository: Logical container for external content.
  • CMIS Folder: Folder object within a repository.
  • Batch Folder: Grooper's internal representation of imported documents and folders.
  • Content Link: Reference to the original external content, enabling sparse import and dynamic content access.

Properties

NameTypeDescription
General
Processing Options
Disposition

See Also

Used By

Notification