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 a corresponding custom record for content. For example for each CMS_IMAGE custom record, there is one corresponding CMS Content record. The CMS Content record specifies how and where content is displayed. The CMS Content record includes the following fields:
Name |
The name is an internal identifier for the content. The name is not displayed to the visitor on the website. The name field is left empty for content created through SMT. |
Description |
This is a user defined description of the content. The description field is left empty for content created through 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 for the content instance to the corresponding CMS Content record. |
Template |
Determines the template used when rendering content. This should be set to default. |
Match Type |
Currently, the Match Type field is not used by Site Management Tools or Commerce web stores. |
Change URL |
Specifies the URL used when the content was created or changed. This URL does not necessarily reflect the only URL where the content is displayed. 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 corresponds with the SMT This Page area scope and is used for content that you want to place on a specific type of page such as a product detail page or a facet browse page. Available options are:
See This Page Areas. |
Global Context |
This corresponds with the SMT All Pages area type. When content is configured to display in all pages, this field contains the *. See All Pages Areas. |
Path Context |
The corresponds with the This Page area type and denotes the URL to the page. See This Page Areas. |
Area Name |
Specifies the name of the area on the page where this content is placed. Area name is the value of the |
Start Date |
The visibility start date and time for the content. |
End Date |
The visibility end date and time for the content. This identifies the date and time when the content expires. When this field is empty the content never expires. |
Edit CMS Content
Even though you can make changes to content by editing the CMS Content record, best practice for editing content is to make your edits in SMT. Avoid editing the CMS content record directly because, if done incorrectly, you can cause content to disappear from your site.
Add CMS Content
CMS Content records are created automatically when you add content to your site and publish it. The CMS Content record lets you add a new record directly from within NetSuite. Remember, each CMS Content record links to a corresponding CMS custom record. Although you can manually add CMS Content and CMS custom records to add content to your site, you should use Site Management Tools to add or edit content.
Delete CMS Content
The CMS Content record lets you delete SMT content from your site. When you delete a CMS Content record, the corresponding CMS custom record is also deleted, and the content is immediately and permanently removed from the 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 asked if you are sure you want to delete the record, click OK.