cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Custom Filter in Adapt Filters Section in Fiori Elements oData v2

kachin_agarwal
Explorer
0 Kudos

Hi All,

We are developing an industry cloud solution. We are using fiori elements that consumes oData v2 service generated from CAP module. We have to add a Custom Filter in the List report page and i was able to add it using the steps provided in the below documentation.

https://sapui5.hana.ondemand.com/sdk/#/topic/3a515829ffd74239878ebc0d453d001d

But for some reason i am unable to hide this custom filter in the default view and show it only on click of adapt filters. Is there a way to add a custom filter only in adapt filter section?

<smartfilterbar:ControlConfiguration key="CustomSignedStatus" index="70" visibleInAdvancedArea="true" groupId="_BASIC" label="{i18n>SignedStatus}">
        <smartfilterbar:customControl>
            <ComboBox>
                <core:Item key="Y" text="{i18n>Yes}"/>
                <core:Item key="N" text="{i18n>No}"/>
            </ComboBox>
        </smartfilterbar:customControl>
</smartfilterbar:ControlConfiguration> 

Thanks,

Kachin

View Entire Topic
Kishannaicker
Participant
0 Kudos

Hi Kachin,

You need to set visibleInAdvancedArea="false" and groupId="_CUSTOM"

This will hide your custom filter in default view but will be accesible from Adapt filters section.

Regards,

Kishan Naicker