Getting Started
CallenableCustomMapping to turn on the custom mapping UI for one or more connectors. The function accepts an array of connector settings and/or flow schemas.
Source to Target Custom Mapping Demo
Input formats
enableCustomMapping accepts EnableCustomMappingInput[]. Each item is either a connector setting or a flow schema.
You can pass both formats in the same call. Connector settings and schemas are stored separately: connector IDs replace the connector list, while schemas are merged by
flowId.
Catalog format
Pass connector IDs to enable custom mapping using the connector’s source catalog as the left (source) side of the mapping UI.v2_source contains a valid discovered catalog.
Schema format
Pass a schema object to define your app’s source tables and fields at runtime. Your schema appears on the left (source) side of the mapping UI. The widget still fetches the connector’s catalog for the right (target) side. For more on schema structure, see custom field mapping.React example
Schema-based custom mapping does not require a v2 flow. If a schema is registered for the active flow, the mapping tab is available even when the flow version is not v2.
Combining catalog and schema
Sample mapping output
After saving their mapping, the following field is added to the tenant’s tenant-config.source values match the table names you passed in schema, and field keys in fields match the id values you defined.