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

Value Reader - Convert To Data Type

Value Reader Command Grooper.Extract

Converts this Value Reader to a Data Type with equivalent functionality.

Remarks

The Convert to Data Type command allows you to transform a Value Reader into a Data Type when you need to take advantage of advanced collation, filtering, or post-processing features that are only available on Data Types.

This command is most useful when your Value Reader is configured with a single extractor and you want to refactor or extend its extraction logic using the broader capabilities of Data Types.

When to Use

  • When you want to upgrade a Value Reader to a Data Type to enable collation, result filtering, or other advanced options.
  • When you need to integrate the extraction logic of a Value Reader into a more complex extraction workflow.

How It Works

  • The command creates a new Data Type node with the same name and copies the extractor from the Value Reader.
  • The new Data Type is inserted at the same location in the parent node.
  • All references to the original Value Reader are updated to point to the new Data Type.
  • The original Value Reader is removed from the repository.

Limitations

  • The command is only available if the Value Reader has an extractor configured.
  • Additional configuration may be required on the new Data Type to fully leverage its advanced features.

Best Practices

  • Use this command to extend or refactor extraction logic as your requirements evolve.
  • Review and configure collation, filtering, and other Data Type options after conversion.
  • Test extraction results to ensure functional equivalence and desired behavior.

See Also

Notification