Create Custom Content Types for Site Management Tools

Create custom content types (CCT) in Site Management Tools for dynamic website applications using SuiteCommerce extensions.

·2 min read·View Oracle Docs

Creating custom content types (CCT) is a powerful feature that allows developers to enhance SuiteCommerce sites through dynamic applications and functionalities. These custom types can be managed effortlessly via the Site Management Tools (SMT), enabling a flexible and scalable approach to developing online features.

What are Custom Content Types?

Custom content types provide developers with the ability to create tailored website applications that can be integrated and managed through the SMT interface. By setting up these CCTs, you can significantly expand your website's functionality.

Steps to Implement a Custom Content Type

The process of implementing a CCT involves two main activities:

  1. Create a Custom Module: You need to build a custom Commerce module which includes necessary resources such as JavaScript, HTML, and CSS as per best practices specific to SuiteCommerce.
  2. Set Up Custom Records: This step involves creating custom records in NetSuite that link to your CCT, allowing administrators to manage content effectively.

Detailed Implementation Procedure

To successfully create and deploy a CCT, follow these procedures:

  1. Create a Custom Module for Your CCT

    • Develop your custom module to contain all necessary files.
  2. Create an Entry Point File

    • This is where you define how the module is accessed within your site.
  3. Create a View File

    • This file outlines what content will be displayed when the module is invoked.
  4. Create a Template File

    • Design the templates that will structure the layout and presentation of your content.
  5. Set Up Your JSON Files

    • Configure your ns.package.json and distro.json to ensure proper package management and deployment settings.
  6. Deploy Your Code

    • Finally, upload the custom module to your NetSuite account to activate it on your site.

Important Notes

  • Ensure that you have Site Management Tools enabled in your NetSuite account to implement CCTs effectively.
  • If you are using a version of SuiteCommerce Advanced from the Aconcagua release onward, it is crucial to create CCTs as extensions.

Who This Affects

This guide is useful for:

  • Developers: who need to expand the capabilities of SuiteCommerce.
  • Site Administrators: responsible for enabling and managing custom content types.

By following these guidelines, developers can leverage the full potential of Site Management Tools to create dynamic and engaging online experiences for users.

Frequently Asked Questions (4)

Do I need to enable any feature flags for using Custom Content Types in SuiteCommerce?
Yes, you must ensure that Site Management Tools are enabled in your NetSuite account to implement Custom Content Types effectively.
What are the prerequisites for creating a Custom Content Type in SuiteCommerce?
You need to create a custom Commerce module with all necessary resources such as JavaScript, HTML, and CSS according to SuiteCommerce best practices. Additionally, setting up custom records in NetSuite is essential for managing the content.
Is it necessary to create extensions for Custom Content Types in newer SuiteCommerce Advanced versions?
Yes, if you are using a version of SuiteCommerce Advanced from the Aconcagua release onward, you should create Custom Content Types as extensions.
How do I deploy a Custom Content Type to my NetSuite site?
To deploy a Custom Content Type, you need to upload the custom module to your NetSuite account. Make sure your JSON files, such as 'ns.package.json' and 'distro.json', are correctly configured for package management and deployment settings.
Source: Create Custom Content Types for 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 →