Skip to main content

Getting Started

Call enableCustomMapping with a map of connector IDs to table-pair configurations.

Source to Target Custom Mapping Demo

Parameters

enableCustomMapping accepts Record<string, MappingConfiguration[]>. The key is a connector ID. Each configuration has: Each table has a type: The sourceTable and targetTable can use different types.

One source table to multiple target tables

Set allowOneToManyTableMappings to true and provide multiple custom-schema target tables with schemas. The widget groups target fields by table label, and saving creates one mapping entry for each selected target table.
For existing single-target configurations, no migration is required. Existing persisted mappings remain readable and are upgraded to version 2.0 with an entry-level id when they are saved again.

React example

Sample mapping output

After saving their mapping, the following field is added to the tenant’s tenant-config.
source values match the configured source table names, and field keys in fields match the configured schema fields.