Basics
SuiteScript Installation
Setting Up SuiteScript
SuiteScript setup uses NetSuite’s SuiteCloud IDE or VS Code with no separate installation.
Getting Started with SuiteScript
SuiteScript is a powerful tool for customizing and automating processes within NetSuite. The setup process involves configuring your development environment using either NetSuite’s SuiteCloud IDE or Visual Studio Code (VS Code). Both options do not require a separate installation of SuiteScript itself. This guide will walk you through setting up your environment for SuiteScript development.
Setting Up SuiteCloud IDE
The SuiteCloud IDE is an Eclipse-based development environment provided by NetSuite. It offers a range of features such as code completion, debugging, and deployment tools tailored for SuiteScript development.
- Download and install the latest version of Eclipse IDE from the Eclipse website.
- Install the SuiteCloud IDE Plug-in from NetSuite’s official guide.
Configuring Visual Studio Code
Visual Studio Code is a popular, open-source code editor that supports SuiteScript through extensions. Here’s how to set it up:
- Download and install Visual Studio Code from the official website.
- Install the SuiteCloud Extension for VS Code from the Visual Studio Marketplace.
- Configure your project using the
suitecloud.config
file for connection settings.
Connecting to Your NetSuite Account
After setting up your IDE, the next step is to connect it to your NetSuite account. You will require your NetSuite account credentials and role information. Ensure that your NetSuite account has the necessary permissions to access SuiteScript and use the SuiteCloud Development Framework (SDF).
This command initializes a new SuiteScript project in your current directory. Follow the prompts to enter your account details and project preferences.
Verifying the Setup
Once your environment is configured, you can verify the setup by creating a simple SuiteScript file and deploying it to your NetSuite account. This ensures that your IDE is correctly linked to your NetSuite environment and that you can successfully deploy scripts.
Basics
- Previous
- Introduction
- Next
- Running Code