Odata parameter / filter and method

Stimulsoft Reports.JS discussion
Post Reply
ysantosa
Posts: 15
Joined: Wed Sep 11, 2019 12:22 am

Odata parameter / filter and method

Post by ysantosa »

Hi.

2 questions regarding OData and Stimulsoft web (js) products:

1. can you please provide me example on how to send filter / parameter when running report / design preview - in particular, how to pass parameter from report to odata endpoint.
2. is there a way to customise method being used when calling the odata endpoint ? Seems all the calls are being made with 'GET' method.

Kind regards.
Lech Kulikowski
Posts: 6259
Joined: Tue Mar 20, 2018 5:34 am

Re: Odata parameter / filter and method

Post by Lech Kulikowski »

Hello,

You can try to use a variable in the connection string to your OData service.

Thank you.
ysantosa
Posts: 15
Joined: Wed Sep 11, 2019 12:22 am

Re: Odata parameter / filter and method

Post by ysantosa »

Lech Kulikowski wrote: Thu Nov 05, 2020 4:57 pm Hello,

You can try to use a variable in the connection string to your OData service.

Thank you.
Hello Lech,

Much appreciated for replying.

Is there anyway to achieve the same thing outlined in your example here: https://www.stimulsoft.com/en/documenta ... bjects.htm

But in JS ?

Thank you !
Lech Kulikowski
Posts: 6259
Joined: Tue Mar 20, 2018 5:34 am

Re: Odata parameter / filter and method

Post by Lech Kulikowski »

Hello,

Unfortunately, in the JS version, business objects are not supported.

Thank you.
Post Reply