Completed
Last Updated: 02 Apr 2020 10:27 by ADMIN
Release R1 2020 SP1
Al
Created on: 14 Jan 2020 11:19
Type: Bug Report
1
When WebServiceDataSource has both inline JSON and service Url, in design time the data is requested from the service
When providing both inline JSON and service Url to WebServiceDataSource, in design time the data is requested from the service instead of being taken from the inline JSON to reduce the network load.
4 comments
ADMIN
Todor
Posted on: 02 Apr 2020 10:27

Here is a link to the other forum thread When WebServiceDataSource has both inline JSON and service Url, in design time the data is requested from the service that continues the discussion concerning the new requirement.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Al
Posted on: 26 Mar 2020 18:37
So are you saying the inline or external data file in this case would be to only provide the data field names? In other words the data is not used in way and cannot be used to preview the report? If so that is extremely limited functionality and I would certainly request that the feature be added to use the data provided from inline or external to be used to preview the report. I could go on at length but in my environment it is a big deal to hit the web service from the report designer. What I'm doing now is maintaining two sets of data sources, one for the web service once the report goes to production and one with external JSON in order to design and test the report. If I forget to change back before I publish to production havoc ensues. A web data source that failed to get web service data and fell back to the inline or external data in the designer only would be the perfect solution for me and I had hoped that was what I had.
ADMIN
Todor
Posted on: 26 Mar 2020 16:48

Hello Al,

I tested with the service and the report I used to verify the bug in the previous version. Here is how it behaved. In the WebServiceDataSource wizard when you have both Service Url and inline Json or external file, there are no requests to the service if you don't press Download in the 'Preview data source results' window. The data fields are still displayed in the Data explorer pane of the designer.

The purpose of the Download button in the 'Preview data source results' is to show the real data coming from the service. On the screenshots, I see that the design-time value of the parameter used to set up the service Url is not correct, hence the exception. The Download button is not supposed to display the data from the inline Json or the external file when there is a Service Url. It is supposed to request the real data from the service by design.

Concerning the overlapping controls in the wizard, we are aware of this problem. It is logged in our system for fixing. You need to set the DPI to 100% to avoid the issue.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Al
Posted on: 19 Mar 2020 23:27

I believe I have the updated item, but it still does not work. I'm using Telerik Report Designer version 14.0.20.219 and I'm adding the WebServiceDataSource as follows with the following results (BTW this from a remote session at 1920x1080 and the program handling of this resolution is poor):

Add service URL parameter:

Set External Data File:

 

Set Parameters:

Click download - which will fail for the Web data source and should load the JSON data file; but:

 

Please advise -- and please work on the handling of this screen resolution.