# Product

The `<Product>` element contains field standardization rules to transform metadata generated by a specific product. It allows you to standardize a document correctly, based on its origin.

- The StandardizeMetadata processor in IDOL NiFi Ingest applies the rules in any `product` element with a `key` or `keyRegex` that matches the value of the "Component names" property in the processor. The default value of this property uses expression language to read the value of the FlowFile attribute `idol.doc.source` and apply the correct field standardization rules based on the origin of the document. This means that you can use the same processor and dictionary file to standardize documents that originated from any IDOL NiFi Ingest Connector.
- CFS applies the rules in the `product` element with the `key` "ConnectorFrameWork".
- A standalone IDOL Connector applies the rules in any `product` element with a `key` or `keyRegex` that matches the value of the `FieldNameDictionaryNode` configuration parameter.

Attribute | Description
--- | ---
`key` | The field standardization rules contained in the `Product` element are applied when the component name is an exact match to this attribute value.
`keyRegex` | The field standardization rules contained in the `Product` element are applied when the component name matches the regular expression.

The following example uses a single product key.

    <FieldStandardization>
        <Product key="ConnectorFrameWork">
            ...
        </Product>
    </FieldStandardization>

The following example uses a regular expression.

    <FieldStandardization>
        <Product keyRegex=".*FileSystem">
            ...
        </Product>
    </FieldStandardization>

_FT_HTML5_bannerTitle.htm