SuiteScript Server Pages Feature for Custom Web Store
SuiteScript Server Pages enable dynamic web store customizations in NetSuite, leveraging SuiteScript 1.0 and 2.0 technologies effectively.
SuiteScript Server Pages (SSP) empower NetSuite developers to create and customize web store applications effectively. This feature incorporates various components to enhance web presence and dynamic content generation, necessary for effective eCommerce strategies.
What Are SuiteScript Server Pages?
SSP applications allow developers to create, view, and manage dynamic web content. Key features include:
- SuiteScript Server Pages: Essential for building, viewing, and customizing applications.
- SuiteScript 2 Server Pages: This enables the use of SuiteScript 2.0 for developing SSP applications. It's important to note that applications built with SuiteScript 1.0 continue to function as expected with this feature enabled.
Enabling SuiteScript Server Pages
To successfully implement SSP applications, enable the following features:
- SuiteScript Server Pages: Required to create, view, or customize SSP applications.
- SuiteScript 2 Server Pages: Necessary for utilizing SuiteScript 2.0 in SSP applications.
Permissions are also crucial; users must have SuiteScript permission to access SSP Application records. This permission can be set up under Setup > Users/Roles > Manage Roles.
Understanding the SSP Application Record
The SSP Application record serves as the central object in NetSuite to manage website customizations. This record encompasses various properties important for deployment and functionality:
| Property | Description |
|---|---|
| Application Folder | Folder in the File Cabinet holding customization files. |
| URL Root | Root for web store links to SSP assets. |
| Supported Touch Points | Entry points where the SSP application can generate dynamic content (defined only for SuiteScript 1.0 applications). |
| Default SSP File | Controls the dynamic content generation (applicable for SuiteScript 2.0). |
| Sites and Domains | Designates where the SSP application is deployed (only for SuiteScript 2.0). |
Precedence in SSP Applications
When multiple SSP applications share the same URL and hosting root, NetSuite employs a precedence system to determine which application processes a request. Notably, this system does not apply to SuiteScript 2.0 applications as they cannot share a URL and hosting root simultaneously.
Supported File Types in SSP Applications
SSP applications support specific file types to enable web store customizations:
- .ssp files: These are SuiteScript Server Pages that can be written in HTML or server-side SuiteScript, allowing for dynamic content building with includes, suitelets, and RESTlets.
- .ss files: Serving as special request handlers written in SuiteScript, these files can manage both frontend and backend processes, responding with various output formats.
Both file types are executed on the server, providing access to SuiteScript APIs for server-side operations. SSP applications crafted with SuiteScript 1.0 can also utilize the Commerce API for further customization needs.
Commerce API Usage
The Commerce API is integral for customizing web stores on the SuiteCloud platform, providing access to unique web store objects and related methods. However, it's important to note that this API is not compatible with SSP applications developed using SuiteScript 2.0.
Related Topics
To dive deeper into SSP applications, the following topics are recommended:
- SSP Applications Compared to Customization with SuiteScript
- Create and Use SSP Applications
- Upload SSP Application Files
- Debug a SuiteScript 1.0 SSP Application
Key Takeaways
- SuiteScript Server Pages enable robust web store customization in NetSuite.
- Both SuiteScript 1.0 and 2.0 can be leveraged for SSP applications, each with specific requirements.
- SSP applications utilize a structured precedence for requests based on URL sharing.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
What permissions are required to access SuiteScript Server Pages?
How do SuiteScript Server Pages handle multiple applications with the same URL and hosting root?
Are SuiteScript 1.0 applications supported with the new SuiteScript Server Pages feature?
Can the Commerce API be used with SuiteScript 2.0 SSP applications?
Was this article helpful?
More in SuiteScript
- Scheduling Map/Reduce Script Submissions in NetSuite
Learn how to schedule map/reduce scripts for one-time or recurring submissions in NetSuite, enhancing automation and efficiency.
- 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.
- 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.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
