Skip navigation

Adding and deleting content items

After defining your project's content structure through content types, you can start creating content in your project. If you decide that you don't need the content item anymore, you can delete it.

See how to create content itemsOpens in a new window inside the app.

Table of contents

    Creating content items

    To create a content item:

    1. From the app menu, choose .
    2. Click Create new on the right.
    3. Choose a content type.

    A new Untitled content item is automatically created in your project.

    Now, continue with your content:

    1. Enter a name for the content item.
    2. (Optional) Fill in the elements defined by the content type.
    3. (Optional) Assign the item to the person who will continue working on it.

    Each change you make is saved automatically.

    Tip: You can quickly create another item based on the same content type by clicking  More actions > Duplicate > Empty.

    Keeping track

    To quickly find elements that need your attention in the current content item, you can use the "left to complete" indicator shown on the Details sidebar. Clicking Content details at the top right of an item opens the sidebar where you can click on Elements left to complete to be taken to the incomplete elements.

    A screenshot of an item with multiple incomplete elements.

    What's an incomplete element? This includes elements that:

    • Are set as required but empty.
    • Do not meet a set limitation, such as the maximum number of characters for a text element.

    Editing codenames

    Codenames identify objects, such as content items, 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 in the UI by clicking More actions > Codename and then the  button or via API by, for example, upserting a content item.

    A screenshot of a content item's codename.

    Rules for codenames

    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 usually limited to 60 characters, but longer codenames are allowed for multiple choice options and taxonomy terms.
    • Codenames of elements within a snippet must be prefixed with the snippet's codename.
    • Codenames must be unique.

    This means the following applies when codenames are generated automatically:

    • All letters are made lowercase.
    • All forbidden characters are replaced by _.
    • For any names that start with a number, the codename will start with n.
    • Codenames that duplicate another codename will have a random string attached to the end.
    • Codenames of elements within a snippet will be prefixed with the snippet's codename.
    • Codenames will be cut off at the character limit.

    Duplicating content items

    Sometimes, you might find yourself in a situation when you need a slightly different version of the same content item. Maybe you're A/B testing your landing page and want to change a thing or two to see which version is more appealing to your visitors. Or, you're putting together a new job advertisement for the same job position but in a different local branch.

    To duplicate a content item:

    1. From the app menu, choose .
    2. Click a content item to open it for editing.
    3. Click More actions in the upper-right corner.
    4. Choose Duplicate.
    5. Choose Including content.

    A duplicate of your content item named “Item_name (copy)” is automatically created in the project. Your new duplicate contains elements, components, and linked content of the original content item. The version history, contributors, comments, and due date don't get copied.

    If you have several language variants of the content item, all of them get duplicated as well.

    Note: Only the users with a capability to create content can clone content items.

    Reusing content without duplication

    Duplicating your content is not always the best option as your list of the content items might get easily cluttered by different copies of the same content. Sometimes, all you need to do is to create a linked item that will contain the information you need to share across multiple content items.

    Deleting content items

    You can delete content items individually while you are in the process of either creating or editing a content item, or you can delete content items in bulk from the content list. If a content item has variants created for multiple languages, you can only delete the variant for one given language at a time and the item will return to a Not translated status.

    Note: Deleted content items can be restored by clicking on the Undo button.

    Location of undo button.

    To delete a content item from your project:

    1. From the app menu, choose .
    2. Open the content item that you want to delete.
    3. Click .
    4. Click Delete.
    Location of delete button under more actions.

    To delete more content items from your project:

    1. From the app menu, choose .
    2. Select content items using the checkboxes next to their names.
    3. Click .
    4. Choose Delete.
    Location of delete button in content list.

    The selected content items are now deleted.

    What's next?