> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-ui-builder/17.latest/property-editors/entity-picker.md).

# Entity Picker

The Entity Picker property editor allows selecting one or more entities from an Umbraco UI Builder collection.

## Configuring an Entity Picker

To configure an entity picker, follow these steps:

1. Go to the **Settings** section in the Umbraco backoffice.
2. Create a **New Data Type**.
3. Select **UI Builder Entity Picker** from the **Property Editor** field.

![Data Type config](/files/5kyRliUyg6K1JJXK5CyH)

4. Enter a **Name** for the picker and click **Save**.
5. Select the **Section** the collection is located in.
6. Select the **Collection** to pick the entities from.
7. *\[Optional]* Select a list view **Data View**, if configured.
8. Enter a **Minimum number of items** and **Maximum number of items** that can be selected.
9. Click **Save**.

After defining the entity picker Data Type, add it to the desired Document Type.

![Document Type config](/files/DJPZWBNlt2cYZZ7QLLSy)

## Using an Entity Picker

The entity picker functions similarly to the content picker.

To pick an entity, follow these steps:

1. Go to the Document Type where the entity picker Data Type is added.
2. Click **Add** to open the picker dialog, displaying a paginated list of entities.
3. *\[Optional]* If searchable fields are configured, use the search input field to filter results.

![Entity picker dialog](/files/f5hI8Vg7UgCegIPDNHhu)

4. Click on the entity names.
5. Click **Submit**. The picker displays a summary of selected entities, which can be reordered by dragging them.
6. Click **Save** or **Save and publish** to save the changes.

![Entity picker values](/files/c8V9Gbqp5qDL6ts3UnYe)

## Retrieving the Value of an Entity Picker

The entity picker property editor includes a built-in [value converter](https://docs.umbraco.com/umbraco-cms/customizing/property-editors/property-value-converters). Retrieving the property value from Umbraco returns the selected entities, converting them to the relevant type.

```csharp
// Example
foreach(var p in Model.People){
    ...
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/umbraco-ui-builder/17.latest/property-editors/entity-picker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
