CMS for administrators > Content types

Content types

This topic is intended for administrators and developers with administration access rights in Episerver.

Content in Episerver can be page and block types, folders, or media files such as images and documents. Content also can be products in a product catalog in Episerver Commerce.

Content types and properties

Page and block types contain the properties where editors enter information, such as a link to an image on a web page.

For a content type, you define a set of properties that can hold information such as a link to an image or to a web page, or an editorial text. A typical website has a set of content types that match the identified functions needed on that website.

The content type is the base or blueprint from which you create one or many page or block instances. To display content to visitors, the page or block type and its properties need to be mapped to corresponding rendering.

The content concept in Episerver is based on inheritance from a “generic” content type, which is then used to create specific content types, such as a page type or a media folder. Using this feature, developers can create custom content types easily when setting up new websites.

You can define page types either in code or from the admin view. On the other hand, you can define clock types only in code. For page types defined in code and for all block types, you can define “non-breaking changes” of properties in admin view.

You are notified if you cannot change the settings defined in code in admin view. If you make changes to a page type defined in code, you can reset the changes to the original values defined in code.

Page types

Be careful when you alter page type settings because changes may cause the website to stop working. Although you can create page types in admin view, you should create them from code.

Block types

Block types are similar to page types, and you can modify some settings from admin view.

Other content types

By default, there are generic content types for other types of content such as folders and media files. Based on these, developers can create specific content types. You can have a specific folder or media file content type, where you can add properties such as Copyright or Photographer.

back to top

Episerver User Guide 16-4 | Released: 2016-05-27 | © Episerver 2016 | Send feedback to us