CMS Page Type Record
The CMS Page Type record lets you access NetSuite records for Site Management Tools page types. The CMS Page Type record only gives you access to the page type, not the SMT content linked to it. A new page type record is also created when a user registers an extension.
You create a new CMS Page with the CMS Page Type you want, then add any SMT content you need.
The 19.1 release has one standard page type, landing page, that you can't delete.
You can set the following CMS Page Type Record attributes in NetSuite:
Name |
The page name is an internal identifier for the page. It isn't displayed to visitors to your website, but it helps you identify the page in NetSuite and SMT. This field is also populated when an extension is registered. |
Display Name |
The display name is the external identifier for the page. This the name displays on the dropdown list after you create a new page. This field is also populated when you register an extension. |
Description |
This is a description you add for the page type. |
Base URL Path |
The base URL path lets you set the URL for all pages of that type. For example, if you a have a page type of blog and a base URL path of blog, all blog pages will be at mysite.com/blog/[page url]. |
Custom Record Type |
This lets you create a Custom Content Type (CCT) and link it to a page type. You can add fields, JavaScript, CSS, and other custom resources. This must be implemented through SuiteCommerce extensions or SCA. |
CMS Creatable |
If CMS Creatable is set to Yes, the page type displays in the list when you create a new page. If CMS Creatable is set to No, you won’t see the page type as an option when creating a new page. |
Inactive |
If a page type is marked as Inactive, you can’t use it for new pages, but any existing pages will still work. Inactive types still display in SMT for sorting and filtering. |
Domain Data Subtab |
|
Add a new CMS Page Type Record
The CMS Page Type record lets you create a new page type.
The CMS Page Type record only lets you create the page type. You still need to create a new page in SMT with that type, then add your content.
To add a CMS Page Type Record:
-
Go to Commerce > Content Management > Content > CMS Page Types > New.
-
Enter the following information.
-
Name — Enter a name to identify this page in NetSuite. The name isn't displayed to website visitors and only identifies the record in NetSuite. This field is also populated when you register an extension.
-
Display Name — This is used to display the page type to the SMT administrator. This field is also populated when you register an extension.
-
Description — This is a description you add for the page type.
-
Base URL Path — The base URL path lets you set the URL for all pages of that type. For example, if you have a page type called blog and set the base URL path to blog, all blog pages will be example.com/blog/[page url].
-
Custom Record Type — This lets you create a Custom Content Type and link it to a page type. You create the new CCT and choose your customizations. You can add fields, JavaScript, CSS, and other custom resources. This must be implemented through SuiteCommerce extensions or SCA.
-
CMS Creatable — Select Yes if the SMT administrator can create pages of this type. Select No if they can't.
-
Inactive — Check the Inactive box to prevent users from creating pages of this type. Any existing pages of this type continue to display on the site.
-
-
Click Save.
Edit a CMS Page Type Record
The CMS Page Type record lets you edit an existing CMS Page Type. You can change its attributes, but not the content on pages using that page type.
To edit a CMS Page Type Record:
-
Go to Commerce > Content Management > Content > CMS Page Types.
-
Click Edit next to the page type link.
-
Make your changes.
-
Click Save.
Delete a CMS Page Type Record
You can only delete a CMS Page Type record there aren’t any pages of that type. If you want to delete a CMS Page Type record from your NetSuite account, first you need to remove all CMS Pages linked to it.
To delete a CMS Page Type record:
-
Go to Commerce > Content Management > Content > CMS Page Types.
-
Click Edit next to the page type link.
-
Point to the Actions menu and select Delete from the dropdown list.
-
When asked if you are sure you want to delete the record, click OK.
Page Types Domain Level Data
This information refers to SuiteCommerce or the 2019.2 release of SuiteCommerce Advanced or later.
Along with creating different page types, you can also create and assign page types to a specific domain in your account. This lets you apply page types at the domain level. Only one entry is allowed for a specific page type and domain combination. This means you can only have one page type named blog attached to one domain. If you want more than one blog page type on a domain, give each one a unique name, like blog1, blog2, blog3, and so on.
To associate a Page Type to a Domain:
-
Go to Commerce > Content Management > Content > CMS Page Types.
-
Choose the page type you want to link to a specific domain and click Edit.
-
Under Domain Data, choose the domain in the dropdown list you want to assign the page type to.
-
In the Template field, enter the exact template name you want to use. This field is case sensitive.
-
Click Add.
-
Click Save.
-
This page type is now linked to your domain.
To remove a Page Type association to a Domain:
-
Go to Commerce > Content Management > Content > CMS Page Types.
-
Choose the page type you want to unlink from a specific domain and click Edit.
-
Under Domain Data, choose the domain and template to want to remove.
-
Click Remove to delete the link between the page type and the domain.
-
Click Save.
-
This page type is no longer associated with your domain.