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
- Common SuiteScript Errors and Solutions for NetSuite
Common NetSuite script errors include INVALID_SCRIPT_DEPLOYMENT_ID and SSS_AUTHORIZATION_HEADER_NOT_ALLOWED. Learn effective solutions.
- Set Sublist Field Values in SuiteScript 2.x for Record Management
Set sublist field values in SuiteScript 2.x for effective record management using standard and dynamic modes.
- Setting Field Values in SuiteScript for Effective Record
Learn to set field values in SuiteScript effectively, troubleshooting common errors and understanding data types.
- SuiteScript 2.1 Enhancements and API Updates in NetSuite
SuiteScript 2.1 enables execution of 2.0 scripts and supports PATCH method for enhanced API capabilities.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category