Custom Content Types for SuiteCommerce Extensions
Custom Content Types (CCTs) enhance SuiteCommerce functionality, enabling developers to create applications easily through Site Management Tools.
Creating Custom Content Types (CCTs) allows developers to extend SuiteCommerce features, enhancing the way administrators manage website applications through Site Management Tools (SMT). By following a structured development process, you can build a functional CCT like the SC.CCT.ImageViewer, which acts as an image viewer capable of retrieving data from custom records.
How to Create a CCT as an Extension
Implementing CCTs requires two primary activities:
- Create a CCT extension: This involves using extension developer tools to set up the necessary files such as JavaScript, HTML, and Sass.
- Set up custom records: Inside NetSuite, you need to create the related custom records to enable your CCT in SMT.
Step-by-step Guide to Create a CCT
The following steps outline how to develop a CCT named SC.CCT.ImageViewer:
-
Create Your CCT as an Extension
Use the extension development tools to create a baseline extension. You will add a CCT as a separate module.-
Property Value Fantasy name Image Viewer! Extension name ImageViewer Vendor name NetSuite Version 1.0.0 Description The best image viewer of the market! Applications Shopping, My Account, Checkout File Types to Include Sass, JavaScript Initial Module Name ImageViewerModule
-
-
Create the Entry Point JavaScript Files
These files are necessary to mount your extension to the application. -
Implement the View File
Define the content that the CCT displays within the application. -
Implement the Template File
Create a template file that visually formats the data for rendering. -
Implement the Sass Files
Style the HTML output using Sass, leveraging auto-generated files by the development tools. -
Test and Deploy the CCT Extension
Conduct tests and finalize the deployment of your extension.
Setting Up Custom Records in NetSuite
To enable the CCT, you must have SMT activated in your NetSuite account. Follow these guidelines to set up the necessary records and fields appropriate for your CCT.
Important Considerations
- SMT must be enabled in your NetSuite account to implement CCTs. Check NetSuite's official documentation for details on enabling SMT capabilities.
Frequently Asked Questions (4)
Do I need to enable any specific features in NetSuite to create and use Custom Content Types (CCTs)?
What are the basic steps required to create a Custom Content Type as a SuiteCommerce extension?
What types of files are necessary to develop a Custom Content Type in SuiteCommerce?
Can a Custom Content Type be utilized in different applications within SuiteCommerce?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
