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

Data Fill Method

Embedded Object Grooper.Core

Data fill methods provide various mechanisms for populating the descendant data elements of a Data Model, Data Section or Data Table.

Remarks

Data fill methods define how data is populated into the child elements of a Data Model, Data Section, or Data Table during extraction. Each fill method encapsulates a specific strategy for populating fields, tables, or sections, and can be configured to run automatically or conditionally based on the extraction context.

Overview

  • Data fill methods are attached to Data Models, Data Sections, or Data Tables to control how their descendant data elements are populated.
  • Common scenarios include running child extractors, performing lookups, or applying custom logic to fill data fields.
  • The execution of a fill method can be controlled using the 'Trigger' property, which allows for conditional or event-driven population.

Execution Flow

  1. During the extraction process, each configured data fill method is evaluated.
  2. If the 'Trigger' property is empty or evaluates to true, the fill method executes and populates the relevant data elements.
  3. If 'Overwrite' is set to true, existing values in the target elements will be replaced; otherwise, only empty elements are populated.

Usage Scenarios

  • Automatic Extraction: Configure a fill method to run automatically for all documents of a given Content Type, ensuring consistent data population.
  • Conditional Logic: Use the 'Trigger' property to execute fill methods only when certain conditions are met (e.g., based on document content or prior extraction results).
  • Custom Strategies: Implement custom fill methods by deriving from this class to support advanced extraction or data manipulation scenarios.

Related Concepts

Notes

  • Multiple fill methods can be configured on a single data container, and their execution order may affect the final data values.
  • For advanced scenarios, custom fill methods can be created by subclassing this class and implementing the required logic in the Execute method.
  • Proper configuration of the 'Trigger' and 'Overwrite' properties is essential for achieving the desired extraction behavior.

Properties

NameTypeDescription
General
Options

Derived Types

There are 3 implementations of Data Fill Method.

AI Extract Populates descendant data elements by asking an AI chatbot to read them from the document content.
Fill Descendants Executes a named Data Fill Method on all descendant Data Field Container elements in parallel.
Run Child Extractors Executes extraction for a subset of child Data Elements within a Data Field Container.

See Also

Used By

Notification