Deploy and Undeploy SuiteScript 2.0 SSP Applications
Deploying SuiteScript 2.0 SSP applications to domains allows for precise management of web assets and customization in NetSuite.
Deploying SuiteScript 2.0 SSP applications requires explicit actions unlike its predecessor, SuiteScript 1.0, which is available by default. This precise control is crucial as it ensures that only one SSP application is deployed to a URL root per domain. If a new SSP application needs to be deployed on an existing URL root where another is already present, the existing application must be undeployed first. Here's how to effectively deploy and undeploy SSP applications.
How to Deploy an SSP Application to a Single Domain
- Navigate to Commerce > Hosting > SSP Applications.
- Click View next to the desired SSP application.
- Select Deploy to Domain.
- Choose the domain from the Domain list.
- Click Save.
How to Deploy an SSP Application to All Custom Domains of a Website
- Go to Commerce > Hosting > SSP Applications.
- Click View next to the SSP application.
- Select Deploy to Site.
- From the options, specify the site for:
- Deploy to Checkout Domain on Site
- Deploy to all Shopping Domains on Site
- To deploy to only one type, select - Do Not Deploy - for the others.
- Click Save.
How to Undeploy an SSP Application
- Go to Commerce > Hosting > SSP Applications.
- Click View next to the SSP application.
- On the Deployments tab, select one of the subtabs:
- Site Shopping for all shopping domains.
- Site Checkout for site checkout domain.
- Domain for specific domains.
- Click Undeploy next to the desired SSP application.
Best Practices
- Single Deployment Rule: Only one SSP application should exist per URL root to prevent conflicts.
- Planning Ahead: Before deploying a new SSP application, ensure that any existing applications are correctly undeployed to avoid issues.
By following these guidelines, you can manage the deployment and undeployment of SSP applications effectively, ensuring that your website is always updated with the correct customizations.
Frequently Asked Questions (4)
Does deploying a new SSP application require undeploying an existing one from the same URL root?
What steps are involved in deploying an SSP application to all custom domains of a website?
How can I undeploy an SSP application from a specific domain?
What are the best practices for deploying SSP applications in NetSuite?
Was this article helpful?
More in SuiteScript
- SuiteScript 2.1 Enhancements in NetSuite February Updates
SuiteScript 2.1 now supports async features and PATCH method. Discover the latest API and SuiteProcurement improvements.
- Scheduling Map/Reduce Script Deployments in NetSuite
Learn to schedule map/reduce script submissions, including one-time and recurring options in NetSuite.
- 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.
- 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.
