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

Element Container Instance

Field Container Instance Grooper.Core

Base for data element instances which may contain Section Instances.

Remarks

The Element Container Instance class serves as the abstract base for data instance objects that can contain Section Instances and other complex data structures within a document. It provides the foundation for organizing, grouping, and managing collections of fields, tables, and sections as defined by the Data Model.

Role in Grooper

Element Container Instances are created automatically during extraction and validation, representing logical groupings of data within a document. They enable Grooper to support complex, nested document schemas by allowing sections, tables, and fields to be grouped and processed together.

This class is inherited by concrete types such as Section Instance, Section Instance Collection, and Document Instance, each of which represents a specific kind of container in the data model hierarchy.

Usage and Configuration

  • Element Container Instances are managed by Grooper’s extraction engine and are not created or configured directly by end users.
  • They are visible in the Data Review UI, where users can review, validate, and edit grouped data elements such as sections and tables.
  • Advanced users may interact with Element Container Instances via expressions, custom code, or API integrations for automation, validation, or custom export scenarios.

Hierarchy and Structure

  • Element Container Instances organize their children according to the Data Model, supporting arbitrarily complex and nested document structures.
  • Children may include Section Instances, Table Instances, and Field Instances, enabling flexible modeling of real-world documents.
  • The class provides methods for navigating, querying, and manipulating the hierarchy of contained elements.

Integration with Other Grooper Features

  • Element Container Instances support advanced features such as recursive validation, dynamic section/table management, and removal of empty collections.
  • They are used in workflows for data extraction, validation, review, and export, ensuring that grouped data is processed as a unit.
  • The class provides utility methods for finding, inserting, or removing sections and tables, as well as for traversing all contained containers or tables.

Properties

NameTypeDescription
General
Document Reference

Derived Types

There are 3 implementations of Element Container Instance.

Document Instance Represents the entire content of a document, and serves as the root of the Data Element Instance hierarchies generated by the Extract activity.
Section Instance Represents the extracted content associated with a Data Section.
Section Instance Collection Represents the value of a multi-instance Data Section object.

See Also

Notification