on 05-15-2018 10:35 AM
Hello,
We would like to have value help type of filters in the header of an Overview Page, instead of (or in addition to) the include/exclude type. Is it possible to generate this kind of value help by annotations, or can we customize this part of the Overview Page?
We are working on SAPUI5 1.52.1.
Thanks in advance and Best Regards,
Greg
Value helps are possible. Perhaps the example at https://github.com/jasper07/Teched17 helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gregor,
Thanks a lot for your example, it's very useful.
I found a way to use Value Help on a field with the help of your document and the Smart Filter Bar sample: https://sapui5.hana.ondemand.com/sdk/#/sample/sap.ui.comp.sample.smartfilterbar/preview
We have to add a ValueList annotation into an Annotations tag that contains the target to the concerning field, like:
<Annotations Target="com.sap.GL.zrha.LineItems/Bukrs" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<Annotation Term="com.sap.vocabularies.Common.v1.ValueList">
<Record>.....
Thanks,
Greg
For custom filters you can refer to the documentation here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.