Updating a Script Deployment

You can edit an existing script deployment using either the Deployments sublist on the script record or by editing the script deployment record.

For some script types, you can make changes by editing the script record’s Deployments sublist. However, for other types, the Deployments sublist is read-only. For these script types, you must edit the deployment using the script deployment record. You can do this programmatically using the N/record Module, or you can do this using the script deployment record entry form. This topic describes updating the deployment using the script deployment record entry form.

When you open the script deployment record for editing, you have access to more fields than are available on the Deployments sublist. For instance, the script record Deployments sublist lets you select the record the script deployment applies to, set a custom ID for the script deployment, select whether the script is to be deployed, set the status (Testing or Release), set the event type the deployment applies to, and set the log level for the deployment. On a script deployment record, you can set and select all of the same fields and additionally set the role the script is to be executed as for the deployment. You can also set and view additional script deployment details using the subtabs on the script deployment record:

Important:

You cannot edit a deployment if the script associated with the deployment is currently running in NetSuite. You must wait until the script stops running.

To update a script deployment:

  1. Go to Customization > Scripting > Script Deployments.

  2. Locate the deployment you want to edit, and click the corresponding Edit link.

  3. Make changes on fields at the top of the Script Deployment page as well as in each subtab, as needed.

  4. Click Save.

Related Topics

Script Deployment
Methods of Deploying a Script
Deploying a Script by using the Deployments Sublist
Deploying a Script by using the Script Deployment Record
Managing Web Store Performance Impact

General Notices