You are here: Admin Mode > Customize Edit Mode > Working With Page Types

Working With Page Types

EPiServer CMS works with both page templates and page types. Page templates are .aspx pages that are displayed to visitors and contain the functionality required to perform a specific function. Page types, on the other hand, are forms, based on a certain page template, in which the editor can enter information in EPiServer CMS. Work in the Edit and Admin modes primarily involves page types.

Create / Edit Page Types

Administrators do not often create new page types as this job is often the task of developers and is done during development of the website. Each page type is linked to an .aspx page (page template), where all the functionality of the page is programmed. The fields in the form that are filled in by the editors are created in Admin mode.

To edit the settings for an existing page type, open the page type in question on the Page Type tab, click Settings , change the settings according to your requirements and click Save.

Create a new page type

  1. Select Create New Page Type on the Page Type tab.
  2. Enter a name for the page types in the Name field. This text is often determined by the language files.
  3. Specify text that describes the page type. The description is the information displayed to editors when they select to create a new page.
  4. Specify the path and file name of the page template that is to create the visitor's web page.
  5. Specify if the page type can be selected in Edit mode by selecting Available in Edit mode.
  6. Specify the index amount for the page in the Sort index field.
  7. If you would like access to the page type to be restricted for certain users and/or groups, specify this by changing the users and groups under Access level. The access level is a filter, which defines which users will have access to create pages based on that page type.
  8. Click Save.

Information Tab

Name
Description
File name
Sort index
Available in Edit mode
Access level

Default Values Tab

A lot of fields (properties) in EPiServer CMS page types cannot be removed. It is, however, possible to set default values for these properties to help editors with their work.

An example of when this may be used is in the "News Item" page type. If there is a policy for news on the website that states that news is "old news" 30 days after publication. After that it must be moved to the News Archive. These two properties could then be set as default on that particular page type.

Change the default values of EPiServer CMS properties

Available Page Types Tab

It is possible to select the page types that should be available for editors when they create a subpage of a page based on a certain page type. An example of when this could be used is in the news listings. Subpages to the "News List" page type should be of the page type "News Item". By only providing the editor with access to this page type, there need never be any mistakes as they have no other page types to choose from.

It is also useful to hide page types that editors don't need; the fewer page types the editor needs to choose from, the easier it will be. Once you have created the page you require, e.g. for the registration page based on the "Registration" page type, you no longer need to have it available, until you want to create a new registration page.

EPiServer CMS also checks if an editor attempts to transfer an unauthorized page type to a location in which you have specified that it cannot be created.

Define available page types

Copy Page Type

Convert Pages