This article explains how to update ETL profiles when your uploaded data file has a different number of columns, and how to use custom columns to transform data using JavaScript.
When Column Changes Occur:
If your uploaded file contains more or fewer columns than expected, ACE will prompt you to review the changes.
If prompted, review the changes in the file structure.
Click Yes to update the ETL profile to match the new file.
Proceed to the Data Map section to review and adjust mappings.
Mapping New Columns
Navigate to the ETL Profile → Data Map section.
Identify any new columns that need to be mapped.
For columns that require calculated values or transformation, use a custom column.
What Are Custom Columns?
Custom columns let you apply logic using JavaScript to extend or transform your data. They can be used to:
Transform or combine field values
Skip rows based on conditions
Format numbers or strings
Flag or enrich records with metadata
Please Note:
Scripts are evaluated from left to right. You can only reference columns to the left of the custom column.
If you’re not comfortable with JavaScript, contact ACE Support for assistance.
Adding a Custom Column in ETL Profile (Using ETL Pro Logic)
Custom columns are created inside an ETL Profile, but the logic itself is written in the ETL Pro Logic editor. When you add a custom column, ACE automatically opens ETL Pro Logic for you to enter the JavaScript.
.png?sv=2022-11-02&spr=https&st=2025-09-09T14%3A45%3A33Z&se=2025-09-09T14%3A56%3A33Z&sr=c&sp=r&sig=pjd%2FJ9P6xWo36EVnieuf5OpHNtNJRRGmG1CDkU8Glg8%3D)
Image Displays ETL Pro Logic Example Configuration
Steps
Scroll to the Custom Column section of your ETL Profile and click Add.
The ETL Pro Logic editor will open.
Enter an Identifier (e.g., SKIPCHECK).
In the Script section, add your JavaScript logic.
Click Save.
var active = 'false'
skip = true
if (line[12] !== '')
{
active = 'true'
skip = false
}
active
Custom Column Example
Identifier: SKIPCHECK → This is the name of the logic being defined.
Column #: 13 → This specifies that the logic is applied to column 13 in the input data.
Script: → The script defines the custom logic.
ETL Pro Logic Help and Help Examples
When you open the ETL Pro Logic to add custom columns, there is a help and help examples for reference:

Image Displays the Help and Help Examples Located in the ETL Pro Logic Section.