Setting Landing Pages URL for Site Management Tools Configuration

Setting the correct landing page URL in Site Management Tools is essential to prevent errors in your sandbox account.

·2 min read·View Oracle Docs

When working with Site Management Tools (SMT) in a sandbox account, it's crucial to set the landing page URL to align with your sandbox domain. Failing to do so may lead to a 'Page Not Found' error when attempting to access SMT landing pages.

How to Set the Landing Pages URL in Your Sandbox

Steps:

  1. Navigate to Commerce > Websites > Configuration and select your desired site and domain.
  2. Open the SuiteCommerce Configuration record, then go to the Integrations subtab followed by the Site Management Tools subtab.
  3. In the Landing Pages URL field, enter the URL of your sandbox account, which follows the format: https://[AccountID]_SB[Identifier].app.netsuite.com. For example: https://345678_SB1.app.netsuite.com.
  4. Click Save to store your changes.

URL Configuration for Older Releases (pre-Elbrus)

To configure the landing pages URL for versions prior to Elbrus, create a custom CMSAdapter module to extend CMSadapter.model.js. Add a custom property as shown:

javascript
'https://345678_SB1.app.netsuite.com/api/cms/pages?site_id=' + siteSettings.siteid + '&c=' + nlapiGetContext().getCompany() + '&{}'

Note: This URL must use your account’s domain and the unique sandbox identifier.

Important Considerations

  • After refreshing your sandbox account, any customizations will be overwritten, necessitating a redeployment.
  • When transitioning customizations from sandbox to production, ensure to edit the cmsPagesUrl in the CMSadapter.model.js file to reflect the production URL.

Related Topics

For further information, you may find these topics helpful:

  • Site Management Tools Configuration
  • Site Management Tools Templates and Areas
  • Deploying Customizations to a NetSuite Sandbox

By ensuring the proper URL configuration for your SMT landing pages, you can enhance the functionality of your sandbox testing environment and reduce the likelihood of errors during development.

Who This Affects

  • Administrators who manage site settings in NetSuite.
  • Developers working with Site Management Tools configurations.
  • Testers using sandbox environments to validate changes.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

What steps should I follow to set the landing pages URL for Site Management Tools in a sandbox account?
To set the landing pages URL, navigate to Commerce > Websites > Configuration, select your site, and open the SuiteCommerce Configuration record. Go to the Integrations subtab, then the Site Management Tools subtab. Enter your sandbox URL in the Landing Pages URL field and click Save.
How do I configure the landing pages URL for older NetSuite releases before Elbrus?
For older releases prior to Elbrus, you need to create a custom CMSAdapter module to extend CMSadapter.model.js and add a custom property for the URL, ensuring it uses your account’s domain and sandbox identifier.
What should be done after refreshing a sandbox account regarding landing page URLs?
After refreshing your sandbox account, you need to redeploy any customizations as they will be overwritten during the refresh process.
How do I transition customizations from a sandbox environment to production regarding landing page URLs?
When transitioning to production, you must edit the cmsPagesUrl in the CMSadapter.model.js file to reflect the production URL, ensuring it aligns with your live domain.
Source: Working with Site Management Tools Landing Pages in a Sandbox Account 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 Commerce

View all Commerce articles →