movefield
On this page
Move a column to a new position in the data extract.
Introduction
Use the movefield instruction to move a column to a new position in a data extract.
Creating a custom script transformation using the movefield instruction
To create and configure a custom script using the movefield instruction, follow these steps:
-
In the Instruction step, select the movefield instruction.
-
To configure the custom script instruction, fill in the following fields. Required fields are marked with an asterisk (*).
- Field name
Enter the name of the column to move.
- Field Index
Specify where to move the column to in the data extract. To move the column to the first position, enter 0. To move the column to the last position, enter -1.