Data Transform
Stuff You Need to Know
This component will try to automatically transform data from one type of data to another, within a small set of options. For more advanced transformation, there is a Custom option.
How to Configure
Component-specific settings:
- From which data-type(droplist) - The built in transformations are:
- XML to Object
- Line to Array
- JSON to Object
- Custom
The Custom option allows you to write Javascript to manipulate data, as in the example below:
// value {Object} contains received data // next(newValue) returns transformed value (IMPORTANT) // Example: var lines = value.split('\\n'); var obj = {}; obj.name = lines[0]; obj.price = lines[1]; next(obj);
Standard settings:
Click here to view information on standard settings.
What Happens Next
The transformed data goes on to the next component(s)! Woot woot!!