set Boolean value true/ false through source script if the value is yes/no in the data upload sheet
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2024 02:29 AM - edited ‎06-17-2024 02:38 AM
answer = (function transformEntry(source) {
if (source.u_keycontrol.toLowerCase() == "yes") {
return true;
if (source.u_keycontrol.toLowerCase() == "no") {
return false;
})(source);
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2024 02:35 AM
Hi,
I'm assuming that the script is not working, so try this instead
answer = (function transformEntry(source) {
if (source.u_released.toString().toLowerCase() == "yes") {
return true;
if (source.u_released.toString().toLowerCase() == "no") {
return false;
})(source);
-Anurag