Skip to Content
0
Nov 23, 2020 at 07:15 AM

CAP fiori annotations for SelectionFields not filtering data

218 Views

I have annotations added to my CAP service like so:

UI: {
        SelectionFields: [
            status_code,
            category_code,
            priority_code
        ],

        LineItem: [
            {Value: title, ![@UI.Importance]: #High},
            {Value: status.code, ![@Common.Label] : 'Status', ![@UI.Importance] : #High},
            {Value: lti},
            {Value: location},
            {Value: description},
            {Value: category.name},
            {Value: priority.name}

...

When I run the CAP application and try to filter on any of the selection fields - the filter is ignored and all values are still shown in the list report table.

However, if I run the "fiori preview" for my entity - the filters work. Any ideas?