CMS Content Type Record

The CMS Content Type record sets up the different content types for SMT. Ater you install the SMT Core Content Types bundle, it creates the CMS Content Type records for the following core content types:

CMS Content Type Record for CCT

After you create custom content types, you must manually create a CMS Content Type record for each one. The CMS Content Type Record links to the custom record you created for your CCT. You must create the CMS Content Type Record before your custom content type is available in SMT.

To create a Content Type Record

  1. Go to Commerce > Content Management > Content > CMS Content Types > New.

  2. Click New.

  3. In the Name field, enter a name for this content type. Use all lowercase, and it’s best not to use spaces. This name identifies the record in NetSuite, so make it descriptive. The name you specify here must be set as the value of the id property within the registerCustomContentType() method used to initialize your CCT module.

    See Create Custom Content Types for SMT.

  4. In the Description field, enter more details about this custom content type to explain its purpose.

  5. In the Icon Image Path field, enter the file path for the icon you want to use (only SVGs are supported). If you don’t pick an icon, a default one will be used.

  6. Specify the Label to use in SMT for this content type. This is what users will see.

  7. In the Custom Record field, enter the name of the custom record you created for this custom content type.

  8. Click Save.

CCT Icon Requirements

Icons for custom content types should be simple, single-color SVGs that are easy for users to recognize and link to the content type.

SVG icons made up of shape elements that can be filled, rather than strokes, work best. Don’t set a color for shapes. If you use strokes, set fill to "none" and stroke to "currentColor".

Style your icon with presentational attributes, not CSS. Style elements in the SVG image may be removed.

Required Settings

Preferred Settings

Not Permitted

Related Topics

General Notices