Skip to main content
Enables transforming a table by adding an array of computed fields that operate on the extracted table. For example, you can add text to each cell in a row, concatenate columns, add or remove columns, and so forth. This method is similar to adding a computed fields array to sections. In detail, this method:
  • Automatically zips the source table. After the zip, each table cell is a field whose ID is the column heading. Note that zipped tables have the same JSON output structure as sections. This enables you to use section-specific computed fields to transform the table, such as the Copy To Section method.
  • Operates on the fields in the table using the array of computed fields you specify.

Parameters

The following parameters are in the computed field’s global Method parameter:

Examples

The following example shows how to transform extracted tables so they’re consistent across different document formats. In the following example, Insurer A excludes the vehicle VIN and model from their policy limits table. In contrast, Insurer B includes the vehicle VIN, model, and make in their limits table: Click to enlarge This example uses the Add Computed Fields method to ensure that each table contains the same field IDs (vin, policy_start, limits, amount, and model): Click to enlarge To ensure consistency, this example transforms the tables as follows:
  • for Insurer A, copies vehicle details into the table
  • for Insurer B, removes the vehicle make
Config
JSON
Example document
The following image shows the example document used with this example config:
Click to enlarge Output
JSON