Creating and Uploading the Client SuiteScript File
To complete this part of the tutorial, create the client script file first and then upload it to NetSuite:
Creating the Client SuiteScript File
Use one of the following options to create the client script file for this tutorial:
Note:
All entry point scripts need to include the required components described in SuiteScript 2.1 Anatomy of a Script.
Uploading the Script File to NetSuite
After you create the file, complete the following steps to upload it to NetSuite:
To upload the script file:
-
In the NetSuite UI, go to Documents > File > SuiteScripts.
-
In the left pane, select the SuiteScripts folder and click Add File.
-
Follow the prompts to find the helloWorld.js file on your computer and upload it.
After you upload the file, you can edit it in the File Cabinet if needed. For more information, see Editing Files in the File Cabinet.