Using Non-SuiteCloud IDEs for SuiteScript Development

Develop SuiteScripts using non-SuiteCloud IDEs, with instructions for adding libraries and uploading scripts directly to NetSuite.

·2 min read·10 views·View Oracle Docs

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:

  1. In NetSuite, navigate to Documents > Files > File Cabinet.
  2. Click on the SuiteScript 2.1 API link to download the library file.
  3. 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:

  1. Go to Documents > Files > SuiteScripts.
  2. Click the Add File button.
  3. 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?
Yes, only users with roles that include SuiteScript permissions can access and download the SuiteScript library file from the NetSuite File Cabinet.
What steps are involved in uploading SuiteScript files developed in non-SuiteCloud IDEs to NetSuite?
After developing your script in a non-SuiteCloud IDE, navigate to Documents > Files > SuiteScripts in NetSuite, click 'Add File,' and select your script from the file dialog to upload it to the File Cabinet for execution.
How do visibility settings affect the execution of SuiteScripts uploaded via non-SuiteCloud IDEs?
Scripts must have appropriate visibility settings, such as Company-Wide Usage or Available Without Login, configured in their File Cabinet records to function correctly across different roles.
Are there any specific steps to integrate the SuiteScript library into a non-SuiteCloud IDE?
Yes, you need to download the SuiteScript 2.1 API library file from the File Cabinet in NetSuite, extract the files, and follow the specific installation instructions for your chosen IDE to enable features like code completion.

Weekly Update History (1)

SuiteScriptupdated

Updated Setting Up Your SuiteScript Development Environment to show the new SuiteScript 2.1 library file link in the procedures.

View Oracle Docs
Source: Working with IDEs Other Than SuiteCloud IDEs Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →