on 06-06-2023 6:08 AM
Hi Experts,
I have to display only few selection fields instead of all fields in a smart filter bar. Since i dont have any annotated model on my selection fields in odata service, I am using custom controls inside control configuration as per my requirement, I have provided visibleInAdvancedArea="false" but i could not hide my selection fields.
<sfb:SmartFilterBar id="IdSalesDeferalSFB" entityType="/I_MaintenancePlanPlant" search="GoSearch" width="auto" filterBarExpanded="false"
useToolbar="false" class="sapUiSizeCompact" containerQuery="true">
<sfb:controlConfiguration>
<sfb:ControlConfiguration key="MaintenancePlanningPlant" index="1" label="Maintenance Plant" controlType="dropDownList" groupId="_BASIC"
visibleInAdvancedArea="false" class="sapUiSizeCompact">
<sfb:customControl>
<MultiInput id="idMaintPlant" valueHelpRequest=".MaintPlantF4" showSuggestion="true" width="30%" suggestionItems="{/I_MaintenancePlanPlant}">
<suggestionItems>
<core:ListItem key="{MaintenancePlanningPlant}" text="{PlantName1}"/>
</suggestionItems>
</MultiInput>
</sfb:customControl>
</sfb:ControlConfiguration>
<sfb:ControlConfiguration key="Validated" filterType="single"/>
</sfb:controlConfiguration>
</sfb:SmartFilterBar>
Please help to resolve this
in your backend, you should annotate those fields as unfilterable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.