A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.umbraco.com/umbraco-cms/13.latest/tutorials/creating-a-basic-website/document-types below:

Document Types | Umbraco CMS

Document Types | Umbraco CMS
  1. Tutorials
  2. Creating a Basic Website
Document Types

The first step in any Umbraco site is to create a Document Type. A Document Type is a data container in Umbraco where you can add Properties (data fields/attributes) to input data. Each Property has a Data Type like text string, number, or rich text body. Umbraco outputs the input data using Templates.

These are some of the most common properties you would add to a Document Type:

To create a Document Type:

  1. Select ... next to the Document Types in the Settings tree.

    Creating a Document Type
  2. Select Document Type with Template.

  3. Enter a Name for the Document Type. Let's call it HomePage. You'll notice that an Alias is automatically created.

  4. Enter the Description. For example: This is our homepage template. The description helps to identify the correct Document Type when creating new Content Nodes in the Content Section.

  5. Click Save. Our new Document Type is now visible as a new item under Document Types.

    Saving a Document Type
Customizing the Document Type

With the help of icons, you can identify different Document Types in the Content Tree. To add an icon:

  1. Select the icon placeholder next to the document name. The Select Icon dialog appears on the right-side of the website.

    Selecting an icon
  2. Browse through the icon list and select the icon of your choice.

To create a Document Type at the root of the Content Tree:

  1. Go to the Permissions tab.

    Allow Document Type as root
  2. Toggle the Allow as root button.

To add properties to your Document Type, follow these steps:

  1. Select Add Group and enter a name for the group. For this tutorial, we will call it Content.

    Adding a Group
  2. Select Add property. The Property Settings dialog opens.

  3. Enter a Name. For example: Page Title.

  4. Enter a Description. For example: The main title of the page (Welcome to Widgets Ltd.).

    Adding a property
  5. Select Select Editor and select the Data Type of your choice. We'll add text in the search box and select the Textstring Data Type.

    Selecting a Data Type
  6. Click Submit.

  7. Repeat Steps 3 to 7 using the specification below:

    The main content of the page.

  8. Select Add Group to create a new group called Footer. Repeat Steps 3 to 7 using the specification below:

    Copyright notice for the footer.

  9. Your Document Type should now look like this:

    Home Page with Properties

We’ve now created our first Document Type. Umbraco takes the data from an instance of the Document Type (also called as Content Node). This data is then merged with a Template – let's create our template next.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4