Working with Non-SuiteCloud IDEs in NetSuite SuiteScript
Learn how to develop SuiteScript in non-SuiteCloud IDEs and manage script uploads effectively.
Working with IDEs Other Than SuiteCloud IDEs allows developers to create SuiteScript files using various editors. While SuiteCloud IDEs are preferred for their integrated features, developing externally requires manual script uploads to the NetSuite File Cabinet.
Adding the SuiteScript Library File to Your IDE
To enhance coding experience in non-SuiteCloud IDEs, you can add the SuiteScript library file to your project. This enables features like code completion and improved syntax assistance. Only users with the appropriate SuiteScript access roles can download this file. Here’s how to do it:
- In NetSuite, navigate to Documents > Files > File Cabinet.
- Click the SuiteScript 2.1 API link to download the library file.
- Extract the files and follow your IDE’s procedure for adding external files to your project.
Uploading Scripts to the File Cabinet Without SuiteCloud IDEs
Upon enabling SuiteScript, a SuiteScripts folder is created in the NetSuite File Cabinet for script organization—though it's optional. Scripts can run from any location within the File Cabinet, but to effectively upload your SuiteScript scripts:
- Go to Documents > Files > SuiteScripts.
- Click Add File.
- In the popup, choose the desired file and click Open.
Key Guidelines:
- Scripts must reside in the File Cabinet to execute.
- When deploying a script for specific audiences (Customers, Vendors, etc.), select the corresponding role in the Audience subtab.
- Ensure that any script or referenced files have Company-Wide Usage or Available Without Login enabled in their File Cabinet records.
To re-upload a modified SuiteScript file, repeat the upload steps and confirm by clicking OK to overwrite the existing file.
Who This Affects
- Administrators: Managing SuiteScripts and permissions.
- Developers: Creating and uploading scripts in NetSuite.
- IT Teams: Ensuring compatibility of scripts with IDEs.
Key Takeaways:
- Non-SuiteCloud IDEs can be utilized for SuiteScript development.
- Manual uploads to the File Cabinet are required when not using SuiteCloud IDEs.
- Script organization is enhanced with the SuiteScripts folder, but not mandatory.
- Always check file permissions to ensure scripts run correctly.
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
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Binary File Support in N/https Module for SuiteScript
SuiteScript enhances capabilities with binary file support in the N/https module, allowing improved data handling in external communications.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
