Hi all,
we have implemented a UI5 table and multiple FacetFilters, which are bound with bindRows() and bind() to an ODATA service (xsodata) running on an HANA calculation view.
Our UI allows complex filtering with selection of multiple values. We are currently facing the problem, that filtering with many selected items (e.g. 100) in the facet filters leads to aborting ODATA requests. The error messages are "bad request" or "request could not be handled".
The URL looks similar to this: ...... service.xsodata/service?$skip=0&$top=113&$filter=(FIELD eq 'VALUEITEM 60 000201' or FIELD eq 'VALUEITEM 60 000211' or FIELD eq 'VALUEITEM 60 000226' or FIELD eq 'VALUEITEM 60 000234' or FIELD eq 'VALUEITEM 60 000249' or FIELD eq 'VALUEITEM 60 000261' or FIELD eq 'VALUEITEM 60 000266' or FIELD eq 'VALUEITEM 60 000272' or FIELD eq 'VALUEITEM 60 000279' or FIELD eq 'VALUEITEM 60 000281' or ......
I think, that the URL/request header gets too long for an GET request with all those filtered items. ..
Is that assumption correct? Is there any way to circumvent that, e.g. telling ODataModel or bindRows to use POST instead of GET?
Thanks,
Christian