CMS Content Type Record

The CMS Content Type record defines the different types of content for SMT. When you install the SMT Core Content Types bundle, the bundle creates the CMS Content Type records for the following core content types:

CMS Content Type Record for CCT

When you create custom content types, you must manually create a CMS Content Type record for each custom content type. 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. The name must be all lowercase and best practice is to use no spaces. The name identifies this record in NetSuite so make it descriptive of the custom content type. 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 path in the file cabinet for the icon you want to use for this content type. Only the scalable vector graphics (*.svg) format is supported. If you do not specify an icon, a default icon is used for the content type.

  6. Specify the Label to use in SMT for this content type. The label identifies the content type to the user.

  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 type should be a single-color SVG image. The image should be simple, but distinctive enough for users to recognize the icon at a glance and associate it with the content type.

Images that are comprised of SVG shape elements that can be filled, rather than SVG strokes, work best. Shapes should have no defined color. The icon can use strokes, but the element's fill attribute must be set to "none", and its stroke attribute must be set to "currentColor".

Icon styling should be done using presentational attributes, not CSS. Style elements present in the SVG image may be removed.

Required Settings

Preferred Settings

Not Permitted

Related Topics

General Notices