paperless-ngx-postprocessor icon indicating copy to clipboard operation
paperless-ngx-postprocessor copied to clipboard

Adds support to process custom fields

Open apachler opened this issue 4 months ago • 0 comments

This PR adds support to process custom fields by following ruleset

Ruleset for Custom Field:
  match: True
  metadata_regex: 'Eingegangen (?P<entry_day>\d{1,2}).(?P<entry_month>\d{1,2}).(?P<entry_year>\d{4})'
  metadata_postprocessing:
    title: "Test Custom Fields Functionality"
    custom_fields:
      Eingegangen: '{{entry_year}}-{{entry_month}}-{{entry_day}}'

This ruleset will add a custom field named Eingegangen with content matched by metadata_regex.

apachler avatar Aug 06 '25 14:08 apachler