Using Non-SuiteCloud IDEs for SuiteScript Development
Develop SuiteScripts using non-SuiteCloud IDEs, with instructions for adding libraries and uploading scripts directly to NetSuite.
SuiteCloud IDEs are generally the preferred environment for developing SuiteScript files, but developers can opt to use other integrated development environments (IDEs) if they choose. While working outside SuiteCloud IDEs requires manual handling for uploading script files, it allows for varied development practices.
Adding the SuiteScript Library File to Your IDE
When developing in a non-SuiteCloud IDE, integrating the SuiteScript library file into your local project can significantly enhance your development experience by enabling features such as code completion. Note that only roles with SuiteScript access can download this library file. Here's how to add the SuiteScript library to your project:
- In NetSuite, navigate to Documents > Files > File Cabinet.
- Click on the SuiteScript 2.1 API link to download the library file.
- Extract the downloaded files and follow your IDE's specific steps to incorporate them into your project.
Uploading Scripts to the File Cabinet Without SuiteCloud IDEs
When SuiteScript is enabled in your NetSuite account, NetSuite automatically creates a SuiteScripts folder in the File Cabinet. While organizing scripts in this folder is optional, it is recommended for ease of access. Here are the steps to upload SuiteScript files to the File Cabinet:
- Go to Documents > Files > SuiteScripts.
- Click the Add File button.
- In the pop-up window that appears, select the file(s) you wish to upload and click Open.
Important Guidelines:
- Only scripts stored in the File Cabinet are executable within your NetSuite account.
- If you want to deploy scripts to customer, vendor, partner, or employee centers, ensure to select the appropriate role under the Audience subtab of the deployment record.
- Ensure that the script file and any associated files have Company-Wide Usage or Available Without Login enabled for accessibility.
To modify an existing SuiteScript file, simply repeat the upload steps (as described above) after making your changes and click OK to overwrite the existing version.
Frequently Asked Questions (4)
Do I need specific permissions to download the SuiteScript library file in a non-SuiteCloud IDE?
What steps are involved in uploading SuiteScript files developed in non-SuiteCloud IDEs to NetSuite?
How do visibility settings affect the execution of SuiteScripts uploaded via non-SuiteCloud IDEs?
Are there any specific steps to integrate the SuiteScript library into a non-SuiteCloud IDE?
Weekly Update History (1)
Updated Setting Up Your SuiteScript Development Environment to show the new SuiteScript 2.1 library file link in the procedures.
View Oracle DocsWas this article helpful?
More in SuiteScript
- Common SuiteScript Errors and Solutions for NetSuite
Common NetSuite script errors include INVALID_SCRIPT_DEPLOYMENT_ID and SSS_AUTHORIZATION_HEADER_NOT_ALLOWED. Learn effective solutions.
- Set Sublist Field Values in SuiteScript 2.x for Record Management
Set sublist field values in SuiteScript 2.x for effective record management using standard and dynamic modes.
- Setting Field Values in SuiteScript for Effective Record
Learn to set field values in SuiteScript effectively, troubleshooting common errors and understanding data types.
- SuiteScript 2.1 Enhancements and API Updates in NetSuite
SuiteScript 2.1 enables execution of 2.0 scripts and supports PATCH method for enhanced API capabilities.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category