Skip to Content
0

How to disable Smart Filter Bar in a Fiori Elements List Report

Mar 05 at 01:45 PM

318

avatar image
Former Member

Hi,

I guess my question is clear: we are trying to build a Fiori Elements app and would like to know how to remove smart filter section completely, we have no need for that. I ran over several sources telling me how to extend, adapt etc this section, but it didnt helped on my question:

https://sapui5.hana.ondemand.com/#/topic/7bcdffc056a94731b4341db73251e32b.html

or

https://blogs.sap.com/2016/11/27/fiori-elements-how-to-develop-a-list-report-using-local-annotations/

I just started with this topic and possibly missing something in generally, please point me if it should be the case, thanks

kind regards

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jocelyn Dart
Mar 08 at 12:45 PM
0

Hi Don,

You can't entirely disable the smart filter... you still need the Go button at least! However you can set the report to start with the filter bar collapsed and to execute Go immediately on entry.

To do this you need to use the UI Adaptation at DesignTime in the Web IDE similar to:

https://blogs.sap.com/2017/08/27/fiori-elements-export-to-microsoft-excel-via-the-ui-adaptation-editor/

You will specifically need to set the values of the property Dynamic Page to:

* Header Expanded = true

* Execute on Select for Default Variant = true

Good luck!

Rgds

Jocelyn

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Jocelyn,

You can't entirely disable the smart filter...<br>

thank you very much, this is an exhaustive answer. I will forward it to my customer.

I guess they will have to go with "classic" SAPUI5 development in generally, since for reasons like that elements development with requirement- and pixel-precise design doesnt seems possible. Thanks again,

kind regards

0

Hi Jocelyn,

Can you please tell me where can I find the "Execute on Select for Default Variant" property within the UI Adaptation Editor?

I'm currently working on a List Report Application with a Smart Filter Bar with several search fields. and I would like to show all the results of my search table when the application is open (with no filters applied).

Best Regards,

Ivo Ferreira

0

Hi Jocelyn,

Thank you and two questions from my side.

The first one is the same as Ivo's. I am also unable to find the second setting in the UI adaptation.

The second one is, is it possible to enable 'Execute on Select for Default Variant' by other means, such as manifest.json?

Best regards,
Chris Xu

0

Hi,

The attribute name has been changed to 'Enable Auto Binding" under smart table section. Thank you, Jocelyn, for pointing this out.

Best regards,
Chris Xu

2