Suitelet Script Deployment Page Body Fields

The table below shows the body fields for Suitelet deployment records. Some fields only show up when you edit or view an existing record.

Field

Description

Script

A a link to the script record for the deployment. You can't change it-even on a new deployment record. If you realize you picked the wrong record, you'll need to start over

Title

The user-defined name for the deployment.

ID

A unique identifier for the deployment.

On a new record,you can set this ID in the ID field. If you plan to bundle the deployment for another account, it's best to use a custom ID to avoid naming conflicts. IDs must be lowercase and cannot use spaces. You can use an underscore as a delineator.

If you don't enter an ID, the system creates one for you. In either case, it adds the customdeploy prefix when you save the record.

Although it's not the preferred method, you can change the ID on an existing deployment by clicking Change ID.

Deployed

This setting shows if the deployment is active. You'll need to check this box for the script to run.

Status

The status can be set to Testing or Released.

  • Testing - The script runs for the script owner and chosen audience.

  • Released - The script runs for all specified audience members.

See Errors Related to the Available Without Login URL to learn more about the relevance of the Released status when deploying internally and externally available Suitelets.

Event Type

Use the Event Type list to specify a script execution context at the time of script deployment.

When you pick an event type, the script only runs for that event-even if the script file lists others.

Important:

Event types you choose in the UI override those in the script file. For example, if you select delete in the Event Type list, the script only runs on delete-even if the script file has create. If you leave Event Type blank, your script only runs on the types listed in the script file.

Log Level

This setting controls what log messages show up in the Execution Log for deployment and script records. The available levels are:

  • Debug - suitable for scripts still being tested; this level shows all debug, audit, error and emergency messages.

  • Audit, Error, or Emergency - suitable for scripts in production mode. Audit is the most inclusive, and Emergency is the most limited.

Execute As Role

Shows which role runs the script.

Available Without Login

Shows if users without an active NetSuite session can access the Suitelet. See Setting Available Without Login.

Related Topics

General Notices