- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2019 04:33 AM
Hello - i have a transform map importing in data from an excel sheet and i want to take 2 fields from the spreadsheet and concatenate them into one field onto the importing table.I have tried multiple scripts but can't seem to work. Could someone please give me some input on my script below?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2019 08:06 AM
you can add another space between two string.
here we go.
var op = abc+' '+abc1;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2019 08:06 AM
you can add another space between two string.
here we go.
var op = abc+' '+abc1;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2019 08:38 AM
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2020 09:20 AM
answer = (function transformEntry(source) {
// Add your code here
var abc =source.fieldA;
var abc1 = source.fieldB
var op = abc+' '+abc1;
return abc; // return the value to be put into the target field
})(source);
This option did not work for me as returning abc only returns the source.fieldA so I changed it to the following, and it worked:
var op = abc+' '+abc1;
return op; // return the value to be put into the target field
