CMS Contents Record
The CMS Content record defines specific information about how each instance of Site Management Tools (SMT) content is displayed. Each CMS Content record links to its matching custom content record. For example, every CMS_IMAGE custom record has a matching CMS Content record. The CMS Content record specifies how and where content displays. The CMS Content record includes the following fields:
Name |
The name is an internal identifier for the content. The name isn't displayed for visitors on your website. The name field is left empty for content created with SMT. |
Description |
This is a user defined description of the content. The description field is left empty for content created with SMT. |
Site |
This specifies the site for the content. |
Content Type |
Identifies the content type. The core content types include:
Additional type values may also be available for custom content types. |
Settings |
Identifies the ID for the custom record that stores the content. This ID links the custom record to the CMS Content record. |
Template |
Determines the template used to display content. This should be set to default. |
Match Type |
Currently, the Match Type field isn't used by Site Management Tools or Commerce web stores. |
Change URL |
Shows the URL used when the content was created or changed. This isn’t always the only place the content displays. For example, content with page type and global context, can display on many pages. The URL in this field reflects only the URL of the page where the content was added or last edited. |
Page Type Context |
This matches the SMT This Page area scope and is used for content you want to place on a specific type of page, like a product detail or facet browse page. The options are:
See This Page Areas. |
Global Context |
This matches the SMT All Pages area type. If content is set to show on all pages, this field contains the *. See All Pages Areas. |
Path Context |
The matches the This Page area type and denotes the page's URL. See This Page Areas. |
Area Name |
Displays the name of the area on the page where this content is placed. The area name comes from the |
Start Date |
When the content starts displaying. |
End Date |
When the content stops displaying. This is the date and time when the content expires. If this field is empty, the content never expires. |
Edit CMS Content
Even though you can change content by editing the CMS Content record, it’s best to make your edits in SMT. Avoid editing the CMS content record directly because, if you make a mistake, your content could disappear from your site.
Add CMS Content
CMS Content records are created automatically after you add and publish content on your site. You can also add a new CMS Content record directly in NetSuite. Remember, each CMS Content record links to a matching CMS custom record. Although you can manually add CMS Content and custom records, it’s better to use SMT to add or edit content.
Delete CMS Content
You can use the CMS Content record to delete SMT content from your site. After you delete a CMS Content record, its matching CMS custom record is deleted too, and the content is immediately and permanently removed from your site.
To delete a CMS Content record:
-
Go to Commerce > Content Management > Content > CMS Contents.
-
Click Edit for the record you want to delete.
-
Select Delete from the Actions menu.
-
When you’re asked to confirm, click OK.