A RetroSearch Logo

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

Search Query:

Showing content from https://docs.umbraco.com/umbraco-cms/fundamentals/data/data-types below:

Data Types | Umbraco CMS

Data Types | Umbraco CMS
  1. Fundamentals
  2. Data
Data Types

Learn about the data types in Umbraco.

A Data Type defines the type of input for a property. So when adding a property (on Document Types, Media Types and Members) and selecting the Type you are selecting a Data Type. There are preconfigured Data Types available in Umbraco and more can be added in the Settings section.

A Data Type can be something basic such as TextString, Number, True/False and so on. Or it can be more complex such as Multi Node Tree Picker, Image Cropper, Block Grid and so on.

The Data Type references a Property Editor and if the Property Editor has settings these are configured on the Data Type. This means you can have multiple Data Types referencing the same Property Editor.

An example of this could be to have two dropdown Data Types both referencing the same dropdown Property Editor. One configured to show a list of cities, the other a list of countries.

Follow these steps to create a new Dropdown Data Type:

  1. Go to the Settings section within the backoffice.

  2. Select the + icon to the right of the Data Types folder.

  3. Click on Select a property editor.

  4. Find and click on the Dropdown editor.

  5. Choose whether to enable multiple selections.

  6. Save the Data Type once you have added the required configuration.

Dropdown List

Data Type configuration

Property Editor This is where you pick the Property Editor UI that the Data Type will be referencing. By default, Umbraco ships with a wide selection to choose from. Learn more about each of them in the Default Data Types article.

In the Settings box below, the configuration options specific to the chosen Property Editor UI will be available. Some Property Editors have many configuration options while some only have a few.

When you're happy with the list press Save. It is now possible to select this Data Type for a property on Document Types, Media Types, and Members. Doing this will then create a dropdown list for the editor to choose from and save the choice as a string.

To customize an existing Data Type go to the Settings section, expand the Data Types folder and select the Data Type you want to edit.

Besides the Data Types that are available out of the box there are some additional Property Editors. For example, think of the Slider and Block List.

Viewing Data Type References

To view the Data Type reference, go to the Settings section and expand the Data Types folder. Select the Data Type you wish to view the reference for and click the Info tab.

Content Picker References

This gives you an overview of the Types that currently use the Data Type.

Learn more about viewing references or implementing tracking in the Tracking References article.

Umbraco Learning Base Channel

Last updated 4 months ago


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