Page 1 of 1

Odata parameter / filter and method

Posted: Thu Nov 05, 2020 2:52 am
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.

Re: Odata parameter / filter and method

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

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

Thank you.

Re: Odata parameter / filter and method

Posted: Thu Nov 05, 2020 5:20 pm
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 !

Re: Odata parameter / filter and method

Posted: Fri Nov 06, 2020 7:44 am
by Lech Kulikowski
Hello,

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

Thank you.