Create Custom CMS Page Types in SuiteCommerce
Create and register custom CMS page types in SuiteCommerce for enhanced website layouts and extensions.
TL;DR Opening
Creating custom CMS page types in SuiteCommerce allows Site Management Tools (SMT) administrators to manage various page layouts effectively. This process includes defining new page types, creating templates, and utilizing the Extensibility API to enhance website content.
What Are Page Types?
Page types in SuiteCommerce serve as foundations for web pages. They allow administrators to introduce different layouts and functionalities for their online presence. Admins can designate a default landing page or customize newly created page types through extensions. Additionally, they can edit existing pages' layouts, enhancing the site's overall appeal.
Steps to Create Page Types
To successfully create and manage CMS page types, follow these essential steps:
-
Set Up Your Extension
To create a new CMS Page Type record, first modify themanifest.jsonfile of your extension. Initially, this record must be created manually for testing and development. Once included in a bundle, the extension automatically creates the CMS Page Type upon installation. -
Create a View
Develop a JavaScript file that extendsPageType.Base.View.js. This is critical for rendering the new page type instance. -
Create a Template
Define a default layout for your registered page type through a dedicated template. -
Register Your Page Type
Use the Extensibility API to register your newly defined page type, making it available within SMT. -
Register Alternative Layouts
You can set up alternative templates to provide various layout options for users creating or editing pages. -
Create Template Thumbnails
Each template must have an associated thumbnail image to show options in the SMT when creating a new page. -
Deploy Your Changes
After testing on a local server, deploy your extension files to your account. Ensure the extension is activated on a domain for testing within SMT. -
Use the Layout Selector
Finally, log into SMT and utilize the Layout Selector to either create new pages or enhance existing ones.
Key Attributes of CMS Page Types
When creating a CMS Page Type record, consider the following attributes:
| Attribute | Description |
|---|---|
| Name | An internal identifier for the page, not visible to site visitors. |
| Display Name | The external identifier that users see when selecting a page type. |
| Description | A short description of the page type. |
| Base URL Path | Sets the URL structure for pages of that type (e.g., mysite.com/blog/[page-url]). |
| Custom Record Type | Links a Custom Content Type to the page type, allowing for additional fields and resources. |
| CMS Creatable | Determines if the page type is shown when creating a new page (Yes/No). |
| Inactive | Marks the page type as inactive, preventing new page creation but allowing existing pages. |
Who This Affects
- Administrators: Responsible for setting up and managing page types in SuiteCommerce.
- Developers: Tasked with creating extensions that enhance page functionalities.
Key Takeaways
- Creating custom CMS page types enhances the versatility of the website.
- Administrators can define multiple layouts and templates for various content needs.
- The Extensibility API is essential for registering new page types and templates.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
What prerequisites are necessary before creating a custom CMS page type in SuiteCommerce?
Do I need to register custom CMS page types with the Extensibility API for them to be available in SMT?
How can I provide alternative layout options for custom CMS page types?
What does the 'CMS Creatable' attribute signify when creating a CMS Page Type record?
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.
