Basic installation
Configure dynamic columns in the installation code. Here’s a basic configuration that adds 2 dynamic columns,qualification and experience.
- Javascript
- React
- Angular
- Vuejs
setDynamicColumns() method while initializing the importer.Advanced configuration
Configure dynamic columns further by passing additional<key>: <value> pairs to the array input parameter of the setDynamicColumns() method. Here is an example illustrating more configuration options.
- Javascript
- React
- Angular
- Vuejs
column_name is the only mandatory key for adding a dynamic column.Configuration options
Validator options
| Column Type | Validators | Example |
|---|---|---|
| text |
| ”min_length”: 2, “max_length”: 50 |
| number |
| “min_value”: -2, “max_value”: 100, |
| - | ||
| date |
| ”format”: [“MM/DD/YYYY”, “MM.DD.YYYY”, “MM-DD-YYYY”] |
| time |
| ”format”: [“h:mm:ss”,“hh:mm:ss”] |
| boolean | - | |
| regex |
| ”expression”: ”^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$”, Note: The special characters in the expression need to be escaped. You may use a tool like this for escaping. |
| ip |
| ”version”: “ipv4” |
| url | - | |
| credit_card | - | |
| phone_number |
| ”country_code”: “de” |
| currency |
Note: The array | “symbol”: ”$”, “require_symbol”: false, “allow_space_after_symbol”: false, “symbol_after_digits”: false, “allow_negatives”: true, “parens_for_negatives”: false, “negative_sign_before_digits”: false, “negative_sign_after_digits”: false, “thousands_separator”: ”,”, “decimal_separator”: ”.”, “allow_decimal”: true, “require_decimal”: false, “digits_after_decimal”: 2, “allow_space_after_digits”: false |
| list |
| “values”: [ {“value”: “USA”, “display_label”: “USA”, “dependents”: [ {“value”: “ny”, “display_label”: “New York”}, {“value”: “ch”, “display_label”: “Chicago”}, {“value”: “se”, “display_label”: “Seattle”}, {“value”: “mi”, “display_label”: “Miami”} ]}, {“value”: “Canada”, “display_label”: “Canada”, “dependents”: [ {“value”: “to”, “display_label”: “Toronto”}, {“value”: “va”, “display_label”: “Vancouver”} ], “case_sensitive”: false, |
| dependent_list |
| ”primary_column”: “countries” |
| dynamic_list |
| “source_url”: “https://api.myapp.com/countries”, “request_headers”: [ {“key”: “Content-Type”, “value”: “application/json”}, {“key”: “X-Access-Token”, “value”: “71ab1d73a4d1319b260e9a0sdbdbc1c”} ], |
| dependent_dynamic_list |
| ”primary_column”: “countries” |
| multiselect_list |
| “values”: [“Red”, “Green”, “Blue”], “delimiter”: ”.”, |
| multiselect_dynamic_list |
| “source_url”: “https://api.myapp.com/colors”, “request_headers”: [ {“key”: “Content-Type”, “value”: “application/json”}, {“key”: “X-Access-Token”, “value”: “71ab1d73a4d1319b260e9a0sdbdbc1c”} ], |
Column position
By default, dynamic columns are displayed after the regular columns. Theposition parameter re-orders the dynamic columns so they display before or in between the regular columns.
The position value starts from 1, which indicates the first position in the final column list. It is an optional parameter when defining dynamic columns.
Receiving dynamic data
Data from dynamic columns is available in the data destinations along with the data from the regular columns. Currently, dynamic columns are supported only by the following destinations:API/Webhook data destination
In the API response JSON object, the dynamic data appears inside the_dynamic_data object, as shown below. The _dynamic_data object is visible only if dynamic columns are configured for the import. In the example below, check lines 12 and 31.

