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

Piece Info Options

Embedded Object Grooper.Core

Specifies data values to be exported as PDF PieceInfo.

Remarks

Overview

The Piece Info Options object allows you to embed custom data into the PDF's PieceInfo dictionary at the document or page level. PieceInfo is a standard PDF feature for storing private application data, enabling downstream systems or integrations to access Grooper-specific information directly from the PDF.

Key Features

  • Custom Data Embedding:
    Export values from selected Data Fields or key-value pairs from a Data Table into the PDF's PieceInfo dictionary.

  • Flexible Scope:
    Data can be embedded at the document level (for standalone exports) or at the page level (when included as a child in a compound PDF).

  • Dictionary Naming:
    Assign a custom name to the PieceInfo dictionary for identification and retrieval.

Usage Guidance

  • Assign a Piece Info Options object to the 'PieceInfo' property of a PDF Data Mapping behavior.
  • Set the 'Name' property to define the PieceInfo dictionary name.
  • Use the 'Fields' property to select which Data Fields to export as key-value pairs.
  • Optionally, use 'Key Column' and 'Value Column' to export key-value pairs from a Data Table.
  • Set 'Direct' to control whether the dictionary is created as a direct or indirect PDF object.

Example Scenarios

  • Archival Metadata:
    Embed index fields (such as document ID, date, or status) for compliance or audit purposes.

  • Integration:
    Store custom data for use by downstream systems that process or index exported PDFs.

  • Table Data Export:
    Export line-item or transaction data from a Data Table as key-value pairs in the PieceInfo dictionary.

Notes

  • The PieceInfo dictionary name must not contain whitespace or special characters: (){}[]<>/%.
  • If both 'Fields' and 'Key Column' are left blank, all single-instance Data Fields will be exported.
  • When 'Key Column' is set, 'Value Column' must also be specified.
  • PieceInfo data is accessible to any system that can read PDF dictionaries, but is not visible in standard PDF viewers.

Properties

NameTypeDescription

See Also

Used By

Notification