Search found 15 matches

by ysantosa
Tue Jun 29, 2021 8:43 pm
Forum: Stimulsoft Reports.JS
Topic: odata on node: xmlhttprequest is not defined
Replies: 3
Views: 1207

odata on node: xmlhttprequest is not defined

Hi, I'm trying to run report with odata datasource on node server. I can't seem to get it to work (it produces blank report) when i call: renderAsync Upon checking logs - I come across the following error: xmlhttprequest is not defined That looks to me - it's trying to use js object: xmlhttprequest ...
by ysantosa
Tue Feb 16, 2021 8:55 am
Forum: Stimulsoft Dashboards.JS
Topic: Widget for React
Replies: 1
Views: 2452

Widget for React

Hi, I need your help with choosing what would be your best product to use. The use case is to have a widget (BI widget) in our React app. If you could please provide a comprehensive example on how to integrate this to our React app, that would be great. I've gone through your examples in github and ...
by ysantosa
Thu Nov 05, 2020 5:20 pm
Forum: Stimulsoft Reports.JS
Topic: Odata parameter / filter and method
Replies: 3
Views: 944

Re: Odata parameter / filter and method

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/documentation/online/programming-manual/index.html?engine...
by ysantosa
Thu Nov 05, 2020 2:52 am
Forum: Stimulsoft Reports.JS
Topic: Odata parameter / filter and method
Replies: 3
Views: 944

Odata parameter / filter and method

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 ca...
by ysantosa
Wed Jun 17, 2020 3:47 am
Forum: Stimulsoft Reports.JS
Topic: content-security-policy: unsafe-eval
Replies: 1
Views: 796

content-security-policy: unsafe-eval

It seems unsafe-eval is needed for CPS (Content-Security-Policy) for the library to be used. Is this the case ? Is there a way not to require 'unsafe-eval' ? Particularly in environment where developers may not have the ability / privileges to alter the Response Header of the server serving the libr...
by ysantosa
Tue Jun 16, 2020 12:48 am
Forum: Stimulsoft Reports.JS
Topic: React functional component
Replies: 7
Views: 9975

React functional component

Are there any examples of using Viewer in React functional components ? All React examples are in Class, I'd like to see one done in functional component. *edit: to elaborate - what I want to achieve is: to load the stimulsoft.*.js dynamically using hooks - because the library is big and not all pag...
by ysantosa
Tue Jun 09, 2020 11:52 pm
Forum: Stimulsoft Reports.NET
Topic: Designer, OData and authentication header
Replies: 6
Views: 2528

Re: Designer, OData and authentication header

> Do you want to set the token in the Desginer? Yes, I want to be able to set tokens in the Designer - be it Designer in windows or javascript client. > Will it be the same each time? It will be the same as long as the token doesn't expire. > Do you want to be able to change it later? Yes - when the...
by ysantosa
Thu Jun 04, 2020 3:30 am
Forum: Stimulsoft Reports.NET
Topic: Designer, OData and authentication header
Replies: 6
Views: 2528

Designer, OData and authentication header

Hello. I've got a question on how to authenticate with OData when creating a data source from the Designer. There's only Username and Password that goes as Query parameters (which is a security concern). But importantly - is there a way to customise this before connecting ? For example - changing au...
by ysantosa
Sun Sep 22, 2019 11:54 pm
Forum: Stimulsoft Reports.JS
Topic: TypeScript definition file
Replies: 6
Views: 3306

Re: TypeScript definition file

Hello. This file is not available in the npm package. We don't have plans to add it there. Thank you. Hi HighAley - it's definitely there in the npm package, at least in version 2019.3.5-b Directory of E:\develop\test-node-postgres\node_modules\stimulsoft-reports-js\Scripts 23/09/2019 09:48 AM <DIR...