Skip navigation

Creating and deleting content types

Before you can start writing content, you need to define at least one content type. Content types serve as templates for content items so that each item has a predefined structure.

Table of contents

    Moreover, once the content is approved and finished, you can rely on its structure when submitting the content to various content management systems.

    Each content type consists of multiple content and supporting elements, which are essential pieces that you mix and match to create different content types.

    See how to create content types inside the app.

    Creating content types

    To create a content type:

    1. From the app menu, choose .
    2. Click Create new.
    3. Type a name in Content type name.
    4. Drag content elements as needed into the predefined content group.
      Tip: You can also add the elements by clicking.
    5. (Optional) Add content groups to organize your content types.
    6. Click Save changes.

    Configuring elements

    When defining a content type, you can configure any of its elements by clicking .

    Each element you add is optional by default and can be set as required in its configuration options. Content contributors will then know which elements they need to fill in when working with content items.

    An animation of how to configure an element.

    Removing elements

    You can remove any element from a content type at any time, even when the content type is used by a content item.

    Warning: This action is not reversible. Removing an element from a content type removes the element across all content items with all data

    Editing codenames

    Codenames are identifiers of objects in Kentico Kontent. A codename is initially generated by the system from the object's name when it is saved for the first time. You can edit codenames by clicking the codename button and then the edit  button. When editing codenames, the new codenames must meet the following conditions:

    • Only lowercase letters, numbers, and underscores are permitted.
    • Codenames must start with a letter or an underscore and have at least one character.
    • Codenames are limited to 60 characters for all objects except multiple choice options, which are limited to 160 characters.
    • Codenames must be unique.

    Deleting content types

    If you want to delete a content type that is already used for any components or content items, you need to delete the content first.

    To delete a content type:

    1. From the app menu, choose .
    2. Use the checkboxes to select the content types you want to delete.
    3. Click Delete.

    The content type is now removed and cannot be restored.

    What's next?