Create a SuiteScript 2.0 SSP Application Record

This topic applies to

Applies to

Commerce Web Stores | Site Builder

 

The SSP Application record stores details about your website customization. This record enables you to group website assets, debug script files, and package your customization for use in other NetSuite accounts. You can define the following properties on the SSP application record:

  • The folder in the NetSuite file cabinet where your website customization assets are stored.

  • Default SSP file

  • URL root used in website links to website assets.

To create a SuiteScript 2.0 SSP Application Record

  1. Do one of the following:

    • Go to Customization > Scripting > SSP Applications > New.

    • Go to Setup > SuiteCommerce Advanced > Web Site Management > SSP Applications > New.

    • If at least one SSP Application folder already exists in your file cabinet, go to Setup > SuiteCommerce Advanced > Web Site Hosting Files, select a website hosting folder, click New SSP Application, select an application publisher, and then continue on to create a new SSP Application record.

  2. Enter a Name for the SSP application.

    This name is like a project name, and is used in NetSuite lists, for example, on the SSP Applications list page, and in the Bundle Builder. This name is not directly visible to web store users.

  3. (Optional) Enter an ID.

    This identifier is used for scripting purposes, for the SSP Application record to be called by a SuiteScript. If you do not enter a value, a default is provided, webapp###. This value cannot be edited after the SSP Application record is saved.

  4. Select the SuiteScript Version that has been used in the SSP application.

    Warning

    You cannot change the version after you have saved the SSP application record.


  5. Select an Application Folder. The list contains all SSP Application folders in the Web Site Hosting Files Folder that are not already assigned to other SSP applications. Application folders that contain SuiteScript 1.0 scripts are also not displayed.

    You can also create a new application folder. For more information, see Create an SSP Application Folder.

  6. Review the URL Root and edit as desired.

    This is the base URL that is used to link to the SSP application from the web store and may be visible to web store users. See The URL Root and its Components for more information.

    Warning

    You cannot change the URL root after you have saved the SSP application record.


  7. (Optional) Enter a Description.

    This is a description of the SSP application. The description is only displayed internally in NetSuite.

  8. Select a Status.

    Leave as the default of Testing while you are creating and debugging your SSP application. Set to Released after you have completed the SSP application and linked it to your website.

  9. (Optional) Select a Log Level.

    The value in this field determines the type of messages written to the script execution log for the SSP application. See  Debug a SuiteScript 1.0 SSP Application

  10. (Optional) Select an Owner.

    Sets the owner of the SSP application. Default is the currently logged in user. After an SSP application is created, only the owner of the SSP application can modify it. The owner is different from the application publisher, as the owner refers to the individual user who is allowed to modify the SSP application record.

  11. (Optional) Check Available on System Domain if you want the SSP application to be available on your system domain. System domains have the format system.netsuite.com.

  12. (Optional) In the Default SSP File field, enter the first few letters of the default SSP file for the SSP application and then press the Tab key to locate the file you need. See Select Default SSP File for more information.

  13. Click Save.