reptar
08/13/2019, 10:16 PMjkabot
08/14/2019, 2:29 PMform.clientScriptModule(Id/Path)
the NetSuite server statically analyzes and all the dependencies imported in the define
array.
The SweetAlert library uses WeakMap
which is a newer JS API that is supported in most browsers but is not recognized by the server, so the server rejects any client script that imports it using define
.jkabot
08/14/2019, 2:29 PMrequire
instead of define