Custom Content Types in Site Management Tools for NetSuite

Custom content types in Site Management Tools enable developers to expand website features dynamically for a better eCommerce experience.

·3 min read·View Oracle Docs

TL;DR Opening

Custom content types in Site Management Tools (SMT) allow developers to create dynamic web applications and features, enhancing eCommerce functionality in NetSuite. The process involves developing a custom module and configuring the content type within SMT.

What Are Custom Content Types?

Custom content types enable Commerce extension developers to add unique features to their websites, managed directly through SMT. This flexibility allows for the enhancement of user experience by integrating personalized content.

Steps to Create Custom Content Types

To successfully implement a custom content type, follow these two main steps:

  1. Create Your Custom Commerce Module: This involves developing the necessary JavaScript, CSS, and resources that your custom content type will require. Ensure adherence to best practices during this process.

  2. Set Up the Custom Content Type in SMT: This includes several specific steps:

    • Create the Custom Records and Fields: These records define how your custom content type behaves and stores data. Refer to the specific guidelines on creating a custom record for this purpose.
    • Create a Content Type Record: This record will link your custom content type to its functionality.
    • Enable the Custom Content Type: Finally, you need to enable this content type through the SMT Content Manager to make it available for use.

Important Considerations

  • Ensure that you follow the proper guidelines and practices when creating your modules to avoid any compatibility issues.
  • Permissions need to be configured correctly for employee roles to edit or create content in SMT. Set the permissions for the custom records involved (e.g., CMS_HTML, CMS_IMAGE) to the appropriate access levels (Full or View) based on user roles.

Custom Fields for Custom Content Types

After setting up your custom records, define custom fields. These fields will appear when adding the content type in SMT. Example fields may include:

Field NameTypeDescription
MessageText AreaA text overlay for the image.
Vertical AlignSelectVertical alignment options for text display.
URLURLSource for the image display.

Using these fields, you can customize how your content type is displayed on the site, enhancing customer interaction.

Who This Affects

  • Developers: Individuals tasked with creating and implementing custom website features using SMT.
  • Site Administrators: Those responsible for managing content and ensuring correct setup within the eCommerce platform.

Key Takeaways

  • Custom content types allow for dynamic website features.
  • Follow best practices for code and structure.
  • Proper role permissions are essential for user access in SMT.
  • Custom fields enhance the interactivity of the content on the site.

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

Frequently Asked Questions (4)

Do custom content types require specific permissions within Site Management Tools (SMT)?
Yes, permissions need to be configured for employee roles to edit or create content in SMT. You must set the permissions for custom records, such as `CMS_HTML` and `CMS_IMAGE`, to the appropriate levels (Full or View) based on user roles.
How do custom content types interact with existing site functionality in NetSuite?
Custom content types are designed to enhance existing functionality by allowing developers to create dynamic and personalized content features within the Site Management Tools. This integration is seamless as long as best practices and proper development guidelines are followed.
What are the necessary steps to enable a newly created custom content type in SMT?
To enable a custom content type, you need to create a content type record, which links the content type to its functionality, and then enable this content type through the SMT Content Manager to make it available for use.
Are there specific field types advisable for use in custom content types?
Yes, it is recommended to use fields such as Text Area for text overlays, Select fields for alignment options, and URL fields for image sources. These fields help to customize and enhance the display and interaction of the content type on the website.
Source: Site Management Tools Custom Content Type 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 →