Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Would love a global library or 'include' script type
Although the ability to now add multiple library files to a user event, suitlet, client form, etc is fantastic, I'm finding I need one more higher level layer for script maintenance purposes.
We have a lot of 'constants' we define:
var MY_CONSTANT_NAME = '1';
var MY_ERROR_MESSAGE = 'This is my error message for this...';
We also use a number of standard utility type functions we use on virtually every script.
It would be nice to be able to have a common area to store and maintain these like perhaps a global library or global 'include' definition.
0