For the complete documentation index, see llms.txt. This page is also available as Markdown.

Element Picker

Learn how to configure and use the Element Picker property editor in Umbraco CMS.

Schema Alias: Umbraco.ElementPicker

UI Alias: Umb.PropertyEditorUi.ElementPicker

Returns: IEnumerable<IPublishedElement>

The Element Picker enables you to choose one or more elements to display as part of your content. Elements are based on Element Types defined in the Settings section. They are created and managed in the Library section.

Data Type Definition Example

Element Picker Data Type Settings

Amount

Define how many elements should be allowed to pick via the Element Picker.

Start Node

Choose a start node for the Element Picker. Use this option when your Library section is organized into folders.

Ignore User Start Nodes

Checking this field allows users to select items outside their assigned start nodes.

MVC View Example

Without Models Builder

With Models Builder

Add values programmatically

The Element Picker stores an array of Element keys (Guid[]). The example below illustrates how an Element Picker value can be added or changed programmatically.

Last updated

Was this helpful?