Display more fields in EntityComboBox

Hi, I used an EntityComboBox to select a referenced entity.
Everything worked well, but the dropdown list only displays the first attribute of the searched entity. How can I select more attributes?
I tried inserting a fetchPlan, but without no results:

        <entityComboBox id="iniziativaField" property="iniziativa"
                <action id="lookup" type="entity_lookup"/>
                <action id="clear" type="entity_clear"/>

Here is the fragment in the data section:

<collection id="iniziativasDc" class="net.mcoletti.guimh.entity.Iniziativa">
<fetchPlan >
    <property name="codIniziativa" />
    <property name="descrizioneIniziativa" />
<loader id="iniziativasDl">
        <![CDATA[select e from guim_Iniziativa e]]>

entityComboBox displays the InstanceName of the entity to the user.
You can map any entity fields to InstanceName.

1 Like

Also, EntityComboBox has an OptionCaptionProvider extension point:

Thanks Alexander; I was able to obtain the proper description with a getter method, combining several attributes of the Instance. In this way, the description will be consistent in all the screens.

I will also study the extension point.