Skip to main content
Skip table of contents

Map Metadata

You can use the Map Metadata pre-processor on an EWA RIA page to map a KVP or AFR key value pair data value (produced by the Azure Document Intelligence Pre-Processor) to a RIA Field value.

For example map:

Azure DI KVP Field ‘KVP.invoice_number’ ---> to RIA Field ‘Invoice Number’

Azure DI AFR Field ‘AFR.invoice_number’ ---> to RIA Field ID i‘Invoice Number’

The field names shown in bold must be typed exactly as shown in the Azure Document Intelligence key value pair output data. The field names are cases sensitive, may contain underscores, but not spaces.

The Map Metadata pre-processor configuration screen looks like this:

image-20260115-004722.png

Stage Settings

 Use the Mapping Values + Button image-20260115-010026.png to add as many rows as required to map all incoming KVP or AFR fields into their corresponding RIA Page fields.

Fields - Choose the RIA Page field you want to map data into.

Source Metadata - Type in the KVP or AFR field name you wan tot map data ftom. It’s case sensitive and must be typed without spaces in it.

Transformations - Can be used to modify the incoming data during the mapping process. Choose from one of:

image-20260115-024301.png

Advanced options include:

image-20260115-024447.png

Here’s an example below of using the form to add a mapping to the RIA Page Invoice Number field:

image-20260115-023638.png

Here’s an example below showing mapping AFR field values (produced by an Azure Document Intelligence model that extract invoice data) to a RIA Page field values (setup to display invoice data).

image-20260115-010538.png

Saving the Pre-Processor

Press the Apply button image-20260114-021549.png to save the pre-processor settings

Saving the RIA Page

Press the Save Button image-20260114-021648.png to save the RIA page changes.

 

Testing the Pre-Processor

  1. Make sure its enabled.

  2. Load an input document (i.e. invoice)

  3. In the RIA Page Viewer make sure that the field data values from Azure Document Intelligence were properly mapped into the RIA Page fields.

  4. If field data is not being mapped. first check the data that was generated by the Azure Document intelligence pre-processor. Press the Show History button on the RIA Page viewer.

image-20260115-011745.png

Then use the Metadata tab to view the Metadata values being passed in by the Azure Document Intelligence pre-processor to the Map Metadata pre-processor.

image-20260115-012147.png

  1. In the Map Metadata stage where you setup your mappings, if you type the name wrong in the Source Metadata value, no metadata data will be loaded into the EWA field by the Map Metadata pre-processor. The field names are cases sensitive, may contain underscores, but not spaces.

  2. Carefully check the mappings for any field data not being being mapped across in to a field.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.