Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
'use strict' in Client Scripts
So, I'm a Typescript guy, so my javascript files are generated for me. By default, TypeScript injects the 'use strict' directive into the javascript. This caused an issue for my client scripts, as there are still lots of end users that use out-dated browsers that do play nice with 'use strict'.
So, no big deal, I'll simply remove that from all my generated javascript.
However, now when I do that, Netsuite throws the following error
Fail to evaluate script: org.mozilla.javascript.EcmaError: ReferenceError: "document" is not defined. (N/https.js#11)
So, I can't even remove it!
Now what. Tell me clients the need to move to Chrome? I appreciate Netsuite doing some 'evaluating' of the scripts as I load them, but this is a problem.