Create SuiteScript 2.0 SSP Application Records in NetSuite

Learn to create SuiteScript 2.0 SSP Application records for website customization in NetSuite, including essential configuration steps.

·3 min read·View Oracle Docs

The SSP Application record is vital for managing website customizations within your NetSuite account. It enables the organization of website assets, allows debugging of script files, and facilitates the packaging of customizations for deployment across different NetSuite accounts.

Key Properties of the SSP Application Record

The following key properties can be defined within the SSP application record:

  • The folder in the NetSuite file cabinet dedicated to your website assets.
  • A default SSP file for streamlined access.
  • A URL root that forms the basis for website links to your assets.

How Do You Create a SuiteScript 2.0 SSP Application Record?

To create a new SSP application record, follow these steps:

  1. Navigate to Creation Options:
    You can create a new SSP application by one of the following methods:

    • Go to Customization > Scripting > SSP Applications > New.
    • Alternatively, navigate to Commerce > Hosting > SSP Applications > New.
    • If there's at least one SSP Application folder present in your file cabinet, you can also go to Commerce > Hosting > Website Hosting Files, select a website hosting folder, and choose New SSP Application. Here, select an application publisher to proceed.
  2. Enter a Name:
    Provide a Name for the SSP application, which serves as a project identifier used in lists, including the SSP Applications list page and in the Bundle Builder. This name is not visible to web store users.

  3. (Optional) Set an ID:
    Define an ID if needed, used in scripts; if omitted, a default ID (webapp###) will be generated. Note that this ID is uneditable post-creation.

  4. Select SuiteScript Version:
    Choose the SuiteScript Version utilized in the SSP application. Be mindful—this version is fixed once the record is saved.

  5. Choose an Application Folder:
    From the dropdown, select an Application Folder containing SSP Application folders not linked to other applications. Note that folders with SuiteScript 1.0 scripts will not appear. You can create a new application folder if necessary.

  6. Review URL Root:
    Edit the URL Root as desired, this acts as the link base for the SSP application from your web store. It's important to note that this URL root cannot be altered after saving the record.

  7. (Optional) Enter a Description:
    An internal Description for the SSP application can be provided; however, it won't be visible externally.

  8. Select Status:
    Keep the status as Testing during creation and debugging; change it to Released once finalized.

  9. (Optional) Log Level:
    You can set a Log Level to control the verbosity of log messages during script execution.

  10. (Optional) Set Owner:
    Choose an Owner for the SSP application; default is the currently logged-in user. Only this user can modify the application after its creation.

  11. System Domain Availability:
    Check Available on System Domain if you wish to make the application accessible on your system domain (e.g., system.netsuite.com).

  12. Default SSP File:
    In the Default SSP File field, enter a few letters of the file name to locate it. See additional documentation for more information on how to select a default SSP file.

  13. Finalizing:
    Click Save to store the SSP Application record once all necessary fields are completed.

Related Topics

  • Uploading SSP Application Files to the File Cabinet
  • Setting Execute as Role Permissions for .ss and .ssp Files
  • Making SSP Applications Available on System Domain
  • Deploying and Undeploying SSP Applications
  • Debugging SuiteScript 2.0 SSP Applications

Key Takeaways:

  • The SSP Application record is essential for managing website customizations.
  • Key details include naming, application version, and URL roots.
  • Modifications to the application ID and URL root are not possible after saving.
  • Proper status settings ensure appropriate visibility during development.
  • Only application owners can modify SSP application records post-creation.

Frequently Asked Questions (4)

Does the folder used for the SSP application need any specific properties?
Yes, the selected application folder must not be linked to other applications and should not contain SuiteScript 1.0 scripts, as these folders will not appear in the selection dropdown.
Can I change the URL root for the SSP application after creating the record?
No, the URL root cannot be altered after the SSP application record is saved. It acts as the link base for the SSP application from your web store.
What happens if I don't set an application ID during creation?
If you don't define an application ID, a default ID will be generated in the format of 'webapp###'. Be aware that the ID cannot be changed once the record has been created.
How does selecting the SuiteScript version impact the SSP application?
The SuiteScript version you select during SSP application creation becomes fixed once the record is saved and cannot be changed later. It's crucial to choose the appropriate version for your development needs.
Source: Create a SuiteScript 2.0 SSP Application Record Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →