Hey all, in a SuiteScript 2 script, do any of you ...
# suitescript
m
Hey all, in a SuiteScript 2 script, do any of you know how to disable the 'Fail to Evaluate' check? Reason being that Netsuite tests the scripts in an environment without access to 'window'... and my script assumes access to it.
e
window is part of the browser API, you might be able to use it only in a Client Script but not any Server Script.
m
@eminero Yeah, I know. And I have specified a client script... but the validation doesn't seem to care that I did 😛 . There's probably something else going on I'm guessing... some error I have. I'll keep looking.
e
If this is a new script, delete the record and re-create it.