CCT

Documentation article about CCT

·1 min read·View Oracle Docs

CCT

CCT

If your extension is set up to include a CCT, your manifest's metadata includes specific information regarding your CCT.

The cct array declares the specific information required to build a CCT in NetSuite. This includes the following attributes:

  • label (required) - lists the name you gave your CCT.

  • icon - lists the path of the icon to be displayed in SMT for the CCT.

  • settings_record (required) - lists the ID of the custom record you associate with this CCT.

  • registercct_id (required) - lists the Name field of the CMS Content Type Record for your CCT. This is also the value of the id property within the registerCustomContentType() method of your CCT module's entry point JavaScript file.

  • description - lists the description you gave your CCT.

json
1//...
2"cct": [
3 {
4 "label": "This is My CCT!",
5 "icon": "img/cct_acme_mycct_icon.svg",
6 "settings_record": "customrecord_cct_acme_mycct",
7 "registercct_id": "cct_acme_mycct",
8 "description": "My cool CCT does magic!"
9 },
10 {
11 "label": "This is My Second CCT",
12 "icon": "img/cct_acme_mycct2_icon.svg",
13 "settings_record": "customrecord_cct_acme_mycct2",
14 "registercct_id": "cct_acme_mycct2",
15 "description": "My cool CCT does magic!"
16 }
17]
18}

Frequently Asked Questions (4)

What is a CCT in NetSuite?
CCT stands for CMS Content Type, which is an extension component in NetSuite that includes specific information like label, icon, settings record, and registercct_id in the manifest's metadata.
What attributes are required to build a CCT in NetSuite?
To build a CCT in NetSuite, you must include the following required attributes in the `cct` array: `label`, `settings_record`, and `registercct_id`.
What is the purpose of the `registercct_id` attribute in a CCT?
The `registercct_id` attribute lists the Name field of the CMS Content Type Record for your CCT and matches the `id` property in the `registerCustomContentType()` method in your CCT module's entry point JavaScript file.
Is the icon attribute mandatory for setting up a CCT?
No, the icon attribute is not mandatory for setting up a CCT. It is optional and lists the path of the icon to be displayed in SMT for the CCT.
Source: CCT 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 General

View all General articles →