- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 11:02 AM
I'm importing a csv file which has yes as a value for a checkbox field. However, SN has True/False. How do I interpret that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 12:27 PM
Hello Vincent,
In your field map, tick 'Use source script', and enter a script something like this:
if (source.u_sourcefieldname == 'yes'){
answer = true;
else{
answer = false;
}
The variable 'answer' is the value that gets written to your target field.
Hope that helps,
Jamie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 12:29 PM
Oops... I missed out the first close curly bracket! Put a } at the end of line 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 12:46 PM
Jamsta,
Thanks,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 01:58 PM
No problem. If my answer works for you, please mark it as correct