This is a migrated thread and some comments may be shown as answers.

Web service data source with inline variable service URL is not working properly in Web Report Designer

1 Answer 369 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mirzodaler
Top achievements
Rank 1
Veteran
Mirzodaler asked on 03 Sep 2020, 08:26 AM

Hi,

We have updated our telerik reporting and web report designer to R2.P1.2020 (14.1.20.618).

I am using the report that is attached to this post.(actually it didn't allowed me to upload .trdx file) It has 2 web service data sources: 

1. webServiceDataSource1URL - For the Service URL we are using the inline variable "@url" and for Value and design time value we are using the "https://services.odata.org/TripPinRESTierService/People"

2. webServiceDataSource2NoURL - For the service URL we are directly using the "https://services.odata.org/TripPinRESTierService/People"

The scenario #1 is not working and the error is showing in a web designer: "An error occurred while loading the data schema for 'webServiceDataSource1URL': unexpected token | in JSON at position 0". For more details check the attached screenshot. As well you can see that the fields for #2 is loaded and for #1 is not loaded. This report works fine in a standalone report designer.

We are moving toward using the web designer and #1 is the case how how we use the web datasources.

It would be great to have this fixed in a next release.

Thanks,

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 08 Sep 2020, 01:50 PM

Hi Mirzodaler,

I confirm the issues. Note that although an error is displayed in the designer, it still loads correctly the data. Check this silent video where I recorded my tests. Note that the fields of the DataSource, when its URL was set with a  parameter were visible neither in the Web Designer nor in the Standalone Designer.

I have logged the issue in our public feedback portal on your behalf - When creating WebServiceDataSource with ServiceUrl provided as an inline parameter in the Web Designer, there occurs an error. You will be automatically notified when the status of the work item changes.

 We have updated also your Telerik points as a token of gratitude.

If you want to send us a file, you may compress (ZIP or RAR) it and attach it to a support ticket. In a Forum thread, you are allowed to attach only images.

Regards,
Todor
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Mirzodaler
Top achievements
Rank 1
Veteran
Answers by
Todor
Telerik team
Share this question
or