Reports.JS Designer consume JSON Web Service

Stimulsoft Reports.JS discussion
Post Reply
Cordata
Posts: 2
Joined: Fri Aug 07, 2020 12:00 pm

Reports.JS Designer consume JSON Web Service

Post by Cordata »

Greetings;

I am using the Reports.JS Designer from the trial package. Version 2020.3.2 from 17 June 2020, JS

I am trying to consume JSON data from a REST service. It is not in the OData format. I'm having trouble finding a way to pull the data into the Designer. If I save the data to file, and import the JSON from a file, it works fine.

How can I import the same data from a REST service call? Example of the REST url: http://127.0.0.1:7000/dl?query=Sample1

Thanks;

Billy
Lech Kulikowski
Posts: 6270
Joined: Tue Mar 20, 2018 5:34 am

Re: Reports.JS Designer consume JSON Web Service

Post by Lech Kulikowski »

Hello,

Please check the CORS settings.
We couldn't reproduce the issue on our samples.

Thank you.
Cordata
Posts: 2
Joined: Fri Aug 07, 2020 12:00 pm

Re: Reports.JS Designer consume JSON Web Service

Post by Cordata »

Greetings;

I'm not sure what I was missing, I went to record the issue with a video to share and explain, and it appears to be working with JSON.

Thank you for the reply!

Billy
Lech Kulikowski
Posts: 6270
Joined: Tue Mar 20, 2018 5:34 am

Re: Reports.JS Designer consume JSON Web Service

Post by Lech Kulikowski »

Hello

Ok.
Please let us know if you need any additional help.

Thank you.
Post Reply