OData and dynamic filters
-
- Posts: 19
- Joined: Fri Sep 22, 2017 5:06 am
OData and dynamic filters
Hi,
Can i add dynamic filters to OData requests just like for sql commands (using @<VariableName>)? If not, how to make component send requests with /$filter=fieldName eq '<var from stimulsoft>'
Can i add dynamic filters to OData requests just like for sql commands (using @<VariableName>)? If not, how to make component send requests with /$filter=fieldName eq '<var from stimulsoft>'
Re: OData and dynamic filters
Hello,
You can add necessary filtering for the DataBand component.
Thank you.
You can add necessary filtering for the DataBand component.
Thank you.
-
- Posts: 19
- Joined: Fri Sep 22, 2017 5:06 am
Re: OData and dynamic filters
But will this send filters to OData server or will it filter data on the clients side?
Re: OData and dynamic filters
Hi S.Wieczorek,
It will filter the data on the client side only. The report engine translates the data into an internal format and then filters that data.
Thank you,
Edward
It will filter the data on the client side only. The report engine translates the data into an internal format and then filters that data.
Thank you,
Edward
-
- Posts: 19
- Joined: Fri Sep 22, 2017 5:06 am
Re: OData and dynamic filters
So there is no possibility to dynamically add variables to filters for OData requests.... Will it be added in the future? It would be good to make Datasource requests the server with addition of filters. Now it will pull all data from DB(which can cause performance problems) or hardcoded set only.
Re: OData and dynamic filters
Hello,
Unfortunately, at the current moment, we do not have plans to add this feature for the OData. Sorry.
Thank you.
Unfortunately, at the current moment, we do not have plans to add this feature for the OData. Sorry.
Thank you.
Re: OData and dynamic filters
Hi,
I know this is an old question but right now I'm looking for the same thing. I want to use filters (variables that produce comboboxes) to filter OData on the server side. like /products?$filter=categoryid eq [variable value]
Is it possible now and if so how do I do it?
I know this is an old question but right now I'm looking for the same thing. I want to use filters (variables that produce comboboxes) to filter OData on the server side. like /products?$filter=categoryid eq [variable value]
Is it possible now and if so how do I do it?
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: OData and dynamic filters
Hello,
Please try to use the variable in the connection string.
Thank you.
Please try to use the variable in the connection string.
Thank you.