Does anyone know where to find documentation for t...
# suitescript
b
Does anyone know where to find documentation for the available entry points of Customer Online Form scripts in 2.0/2.1? Here's what I've found so far. https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N976289.html
w
You can only use SS1 for online forms
b
The docs give an example of 2.0
b
b
I saw that already. Thanks. Here's a SuiteAnswers article talking about SuiteScript 2.0. https://netsuite.custhelp.com/app/answers/detail/a_id/75109
Why would they provide an example in 2.0 if it's not supported?
b
it is supported
you have the same entry points as ss1
b
How do I import modules? According to the example, it looks like there might be a global variable for each like "Record". Does that sound right? How do I tell NS that I'm using SS 2.0? Normally there's a comment at the top of SS 2.0+ script files indicating the script type and SuiteScript version.
b
same as for normal suitescript 2 client scripts
its the same except you have less entrypoints
and less access to suitescript apis
b
Okay, I'll give that a try
Sweet. That worked beautifully. Thank you. These are the supported entry points:
Copy code
{
  pageInit,
  validateField,
  fieldChanged,
  saveRecord,
}