How to use entity data source in selection components

This tutorial shows you how to use Entity as Data source type in selection component. In our example we have form for adding/editing product. Product has Product category attribute, so we will show selection component on this form that is using Entity as Data source type.

Singleselect example

1. Login into developer panel.

2. Navigate to Pages menu item.

3. Select page pageProduct.

4. Drag and drop Singleselect component from all components list to formEditProduct. 

5. In component properties section, select Entity as Data source type. Select Product category as Data source Entity.

Singleselect with entity

6. Click on Save changes, go into your application and check out the results.