Modify Root URL for SSP Application in SuiteCommerce

Changing the root URL for the SSP application is essential for using HTTPS with your local server setup in SuiteCommerce.

·1 min read·View Oracle Docs

To use HTTPS with the local server, you must change the value of the ROOT variable in the SSP application.

How to Modify the Root URL of the SSP Application

  1. Open the application's index-local.ssp file.
    This file is located in <SCA_Source_Root>. For instance, the index-local.ssp file for the Shopping application is typically found in this directory: /Modules/suitecommerce/ShoppingApplication@x.y.z/Internal.

    Note: For SCA 2019.2 and later releases, index-local.ssp files are located in the Advanced directory at /Advanced/ShoppingApplication/Internals.

  2. Change the value of the ROOT variable:
    Update the ROOT variable in your index-local.ssp file to reflect your local server's URL:

    none
    var ROOT = 'https://localhost:7778/'
  3. Compile and deploy the application.
    Run the following command to deploy your updates:

    bash
    gulp deploy

    This command compiles the application and creates a local.ssp file based on the modified index-local.ssp file. Since this procedure changes a backend file, deploying the updated files to NetSuite is necessary.

Frequently Asked Questions (4)

What file needs to be modified to change the root URL for the SSP application in SuiteCommerce?
You need to modify the `index-local.ssp` file located in your `<SCA_Source_Root>` directory, or for later releases, in the `/Advanced/ShoppingApplication/Internals` directory.
Does modifying the root URL in SuiteCommerce SSP applications require deployment?
Yes, after modifying the `index-local.ssp` file, you need to compile and deploy the application using the command `gulp deploy` to apply the changes.
Where is the `index-local.ssp` file for the Shopping application typically located?
For most cases, the `index-local.ssp` file is located in the `/Modules/suitecommerce/ShoppingApplication@x.y.z/Internal` directory, but for SCA 2019.2 and later, it is found in `/Advanced/ShoppingApplication/Internals`.
Is the change to the root URL specific to any particular version of SCA?
The location of the `index-local.ssp` file differs based on the version, specifically for SCA 2019.2 and later, where files are located in the Advanced directory.
Source: Modify the Root URL of the SSP Application 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 General

View all General articles →