NiFi Ingest 12.13

# Customize Field Standardization

You can use the advanced configuration interface of the StandardizeMetadata processor to customize the field standardization rules.

- To add a new rule, drag one of the options (such as Product, Field, or Move) from the column on the left, onto the editor in the relevant place. You can also drag and drop examples from the XML Samples tab into the editor.
- To edit or remove existing rules, use the editor.
- To change the order of existing rules, drag and drop elements in the editor.
- To save your changes, click SAVE. The changes are saved, for this processor only, in the folder `idol_repository/StandardizeMetadata_id/` of your NiFi installation, where `id` represents the processor ID.

## Test Field Standardization Rules

You can test the rules that you have configured.

To test field standardization rules

1. Click the TESTER tab.
2. In the Input XML Metadata box, enter some IDOL document XML metadata.
3. In the Component Names box, enter component names to choose the rules to use. For example, if you enter a component name that matches the regular expression `.*FileSystem`, the rules for the File System Connector are enabled. The value you enter should match or be included in the value of the Component name property when you configure the processor.

4. (Optional) In the standardization rules you can use variables containing the document reference, `$(reference)`, or FlowFile attribute values, `$(flowfile_attribute_name)`. To provide sample values for these variables when testing the standardization rules, click ATTRIBUTES.

   For example, the following rule references a FlowFile attribute named "myFlowFileAttribute".

   You might define a sample value as follows:

5. Click TRANSFORM.

   The processed XML is displayed in the Output XML Metadata box.

© Copyright 2018-2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL NiFi Ingest 12.13

Topic Title: Customize Field Standardization