Umbraco UI Builder
CMSCloudHeartcoreDXP
15.latest
15.latest
  • Umbraco UI Builder Documentation
  • Known Issues
  • Release Notes
  • Getting Started
    • First Steps with UI Builder
    • Requirements
    • Installing Umbraco UI Builder
    • Licensing
    • Configuration
    • User Interface
  • Upgrading
    • Upgrade your UI Builder setup
    • Upgrading Umbraco UI Builder
    • Version Specific Upgrade Notes
    • Migrate from Konstrukt to Umbraco UI Builder
  • How-to Guides
    • Creating your First Integration
  • Areas
    • Explore Areas in UI Builder
    • Sections
      • Summary Dashboards
    • Trees
      • Folders
    • Dashboards
    • Context Apps
  • Collections
    • Work with Collections in UI Builder
    • The Basics
    • List Views
      • Field Views
    • Editors
    • Child Collections
      • Child Collection Groups
      • Retrieve Child Collections
    • Related Collections
    • Entity Identifier Converters
  • Searching
    • Add Search to Your Collections
    • Searchable Properties
  • Filtering
    • Filter Your Data with Ease
    • Global Filters
    • Data Views
      • Data Views Builders
    • Filterable Properties
  • Actions
    • Trigger Actions in UI Builder
    • The Basics
    • Action Visibility
    • Inbuilt Actions
  • Cards
    • Display Insights with Cards
    • Count Cards
    • Custom Cards
  • Property Editors
    • Enhance Input with Property Editors
    • Entity Picker
  • Advanced
    • Ready to go deeper?
    • Virtual Sub Trees
    • Encrypted Properties
    • Value Mappers
    • Repositories
    • Events
  • Miscellaneous
    • Conventions
    • Umbraco Aliases
Powered by GitBook
On this page
  • Configuring an Entity Picker
  • Using an Entity Picker
  • Retrieving the Value of an Entity Picker

Was this helpful?

Edit on GitHub
Export as PDF
  1. Property Editors

Entity Picker

Configure and use the Entity Picker property editor in Umbraco UI Builder to select entities from a collection.

PreviousEnhance Input with Property EditorsNextReady to go deeper?

Last updated 1 month ago

Was this helpful?

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.

  1. Enter a Name for the picker and click Save.

  2. Select the Section the collection is located in.

  3. Select the Collection to pick the entities from.

  4. [Optional] Select a list view Data View, if configured.

  5. Enter a Minimum number of items and Maximum number of items that can be selected.

  6. Click Save.

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

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.

  1. Click on the entity names.

  2. Click Submit. The picker displays a summary of selected entities, which can be reordered by dragging them.

  3. Click Save or Save and publish to save the changes.

Retrieving the Value of an Entity Picker

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

The entity picker property editor includes a built-in . Retrieving the property value from Umbraco returns the selected entities, converting them to the relevant type.

value converter
Data Type config
Document Type config
Entity picker dialog
Entity picker values