Page 1 of 1

Reports.JS Designer consume JSON Web Service

Posted: Fri Aug 07, 2020 12:10 pm
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

Re: Reports.JS Designer consume JSON Web Service

Posted: Fri Aug 07, 2020 1:20 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Reports.JS Designer consume JSON Web Service

Posted: Fri Aug 07, 2020 2:53 pm
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

Re: Reports.JS Designer consume JSON Web Service

Posted: Tue Aug 11, 2020 3:00 pm
by Lech Kulikowski
Hello

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

Thank you.