Configuring document types

You can edit document type properties in the Document types application, on the General tab of a particular document type.The following topics describe some of the common document type configuration scenarios:

General document type configuration

General

Display name

The name of the document type displayed in the administration and content editing interface.

Code name

Sets a namespace prefix and unique name that serves as an identifier for the document type, for example in selectors or the API.

Table name

Displays the name of the database table used to store coupled data for documents of this type, i.e. the content of its specific fields.

Inherit fields from document type

If a document type is selected and saved, the definitions of its fields will be loaded and added to the current document type. These fields can be viewed and modified on the Fields tab.

Document type icons

Allows you to upload custom icons that will be used to represent the document type in various parts of the system.

New document settings

New page

URL of the page that will be used when creating new documents of this type.

Show template selection

Indicates if users will be required to select a page template when creating a new document of this type.

Root page template category

May be used to limit the page template options available for documents of this type to a specific sub-section of the template catalog. When creating new documents of the given type, users can only choose from the templates located under the specified category or in its child categories.

Default page template

Sets the page template used by default when the document is created. If no page template is specified, new documents inherit the template of their parent by default.

Editing pages settings
(specify if you do not wish to use the system’s default editing pages)

Editing page

URL of the editing page that will be used when the document is displayed in editing mode via the Page tab.

Editing form

URL of the editing page that will be used when the document is displayed in editing mode on the Form tab.

Preview page

URL of the page that will be used when the document is displayed in preview mode.

List page

URL of the editing page that will be used when the document is displayed in list mode.

Advanced settings

Use publish from/publish to

Indicates if the Publish from/to fields should be offered on the Form tab for documents of this type. These may be used to schedule the page represented by the document to be published on the live site on a specific date and time, or shown only during a limited time interval.

Behaves as Page (menu item) type

Indicates if the document type behaves similar to the default Page (menu item) document type:

  • The default view mode for documents of this type is the Page tab.
  • Documents of this type do not inherit the parent document’s page template by default.
  • Viewer web parts placed on pages automatically display child documents if their Path property is empty.

Due to their limited functionality, container document types do not have the Alternative forms, Fields, Layout, and Search fields tabs.