I’m using Cuba Platform v 7.2.6.
I do have many Lookup Picker Fields in my application that needs to be filtered based on various user actions.
I do apply the filter in the look as below.
<collection id="locationsDc" class="com.g10.align.entity.Location"> <loader id="locationsDl"> <query> <![CDATA[select e from align_Location e where e.entity = :container_entitiesDc]]> </query> </loader> </collection> <lookupPickerField id="locationField" property="location" optionsContainer="locationsDc" width="100%"> <actions> <action id="picker_lookup" type="picker_lookup"/> <action id="picker_clear" type="picker_clear"/> <action id="picker_open" type="picker_open"/> </actions> </lookupPickerField>
It does work well in the Lookup Picker Field. However when user clicks on the Lookup action button of the picker filed, when it opens the browser screen in the lookup mode, it shows all the records in spite of the filter applied in container of the picker field.
How do I apply filter the lookup screen as well?