Extensions for Site Management Tools Integration in NetSuite

Extensions for Site Management Tools allow developers to create new page types and templates for SuiteCommerce websites, enhancing site customization.

·2 min read·1 views·View Oracle Docs

Starting with the Site Management Tools (SMT), extension developers have the capability to customize SuiteCommerce websites by introducing new page types and layouts. Such customizations enable site administrators to enhance user experiences by diversifying the available templates and configurations.

What Can You Achieve with Extensions?

Developers can create extensions to:

  • Expose new page types for administrators to utilize.
  • Customize existing page types with new layout options, enhancing overall site flexibility.

How to Enable Custom Page Types

To make new page types available, developers must follow a series of steps to set up a Commerce extension. This includes:

  1. **Creating a CMS Page Type Record: **You'll need to add a new CMS Page Type record to your extension's manifest.json file manually during development.
  2. Registering New Page Types: Utilize the Extensibility API to register new page types so that they can be selected when creating new pages.
  3. Defining Templates: As an extension developer, you can declare one default layout and additional alternative layouts for your new page types.

Best Practices for Page Type Creation

  • Manual Record Creation: It's essential to manually create your CMS Page Type records during the early stages of development for testing.
  • Automatic Creation upon Installation: When your extension is bundled and installed into an account, it will automatically create the necessary CMS Page Type records.

Example Use Case

If a developer creates a blog extension, they would register a new 'Blog' page type with a default layout and additional alternatives. Once installed, this new page type can be effortlessly selected by site administrators when creating pages in SMT.

Conclusion

By employing extensions for SMT, developers significantly enhance the customization capabilities of SuiteCommerce sites, allowing for a more tailored user experience.

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

Frequently Asked Questions (4)

What steps are required to enable new page types in SuiteCommerce using Site Management Tools extensions?
To enable new page types, developers need to create a CMS Page Type record in their extension's `manifest.json` file, register the new page types using the Extensibility API, and define templates with one default layout and additional alternatives.
Do I need to create CMS Page Type records manually during the development of a SuiteCommerce extension?
Yes, it's essential to manually create CMS Page Type records during the initial development phase for testing purposes.
What happens to CMS Page Type records when a SuiteCommerce extension is installed?
When a SuiteCommerce extension is installed, it automatically creates the necessary CMS Page Type records in the account.
How can a developer customize existing page types in SuiteCommerce?
Developers can customize existing page types by creating new layout options within their extensions, which enhances overall site flexibility.
Source: Extensions for Site Management Tools (SMT) 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 →