Default SSP File Selection in SuiteScript Applications
Select default SSP files for SuiteScript applications to streamline customization for web store entry points.
Starting in SuiteScript 2.0 applications, the process of applying customizations has evolved significantly. Unlike prior versions, where logic was specified in multiple places, the default SSP file in SuiteScript 2.0 centralizes this control. This allows web store entry point customizations to be managed more efficiently, reducing configuration complexity.
What Does the Default SSP File Do?
In SuiteScript 1.0, web store customizations required identifying supported touch points both in the SSP application record and separately in domain and website setup records. SuiteScript 2.0 simplifies this process by consolidating this logic within a single default SSP file. This file acts as a centralized touch point for the domain or website, eliminating the need for repetitive setup and potential conflict.
Limitations
As of the last major update, there are currently no NetSuite SSP applications that utilize a default SSP file out of the box. However, developers have the option to create and implement their own SSP files tailored to their store's needs. It's important to note that while SuiteScript 2.0 applications can perform essential tasks like logging in the background, a default SSP file is not required for these background processes.
Selecting the Default SSP File
To choose the default SSP file for your SSP application, follow these steps:
- Navigate to Commerce > Hosting > SSP Applications.
- Click Edit next to the desired SSP application.
- In the Default SSP File field, type the initial letters of the intended default SSP file and press the Tab key to locate it.
- Finally, save the SSP application record.
Important Considerations
- As of now, there is no built-in functionality to automatically select a default SSP file based on user visits to a website or domain—this may be enabled in future releases.
- For any active SuiteScript 2.0 SSP applications on a commerce site, ensure that you directly link to the URL root of the deployed application.
Frequently Asked Questions (4)
Do I need a default SSP file for all SuiteScript 2.0 applications?
Are there any automatic selection features for default SSP files in NetSuite?
How do I configure a default SSP file in SuiteScript 2.0 applications?
Can I use default SSP files in existing SuiteScript 1.0 applications?
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