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

Telerik Report Services Implementation Issues!!!

5 Answers 345 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Trung
Top achievements
Rank 1
Trung asked on 18 Jan 2018, 03:45 AM

Hi guys, I am interested in using the Telerik Report Web Services for my company; however, before I can make a final decision on this, I will need to clarify on a few implementation areas to see if this fits into our company's projects. Here is the story ....

I have successfully created a Telerik report web service based on the instruction on your website but.....I wonder

  • if it is possible to call Telerik Report web services from other web services and manipulate "data object source" as well as "report parameters" on the runtime. For example, I have a service call Reports (ASP.NET Core project targets .Net 4.7.1) which handles all of the report generation requests from the UI, this service processes and handles all the report-generation requests (based on the business logic) then generate a business Object contains information for generating PDF, XLSX files. I would like to send this business object to the Telerik Report web service together with Report Parameters so a report (PDF, HTML, XLSX) can be generated.
  • Same as above but between 2 different controllers, ReportController (for handling business logic and generate required data) and TelerikReportsController (for generating report File).
  • In both scenario, is it stills possible for me to use Telerik Report Viewer on the client side

Examples, diagrams, map, source code to the above problems would be appreciated as I may need them to convince my bosses

5 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 22 Jan 2018, 02:41 PM
Hello Trung,

You can work with Reporting REST service either through a report viewer or manually (by sending requests to the service endpoints). The list of REST service methods is provided here.

To display reports in a web application, you can use HTML5 report viewer that will communicate the server where the reports are generated using Reporting REST service. Any run-time modifications to a report can be placed inside custom report resolver used by the service.

I can suggest the following help articles for more detailed information on how to use the viewer and the service:
How To: Use HTML5 Report Viewer in an application
How To: Add Telerik Reporting REST Web API to Web Application
How To: Implement a Custom Report Resolver

I hope this information will help.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Romeo
Top achievements
Rank 1
answered on 24 Jan 2018, 12:23 PM
Hi Katia, thanks for your response. I have tried all of the options you have mentioned but I could not get the Rest API service to work at all. In particular, When I send the request to register , everything went smoothly; however, if I tried to make any other API calls such as Get Parameters (POST request), the Report Service always return the error "415 Unsupported Media Type". This behaviour only when I create the Rest API under .net Core 2.0 Template but .Net Framework 4.6.1. I am thinking of using now unless this problem resolved....
0
Accepted
Katia
Telerik team
answered on 29 Jan 2018, 09:37 AM
Hello Romeo,

Can the issue be fixed after applying the suggestion in this forum post?

Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Trung
Top achievements
Rank 1
answered on 29 Jan 2018, 11:20 PM

Hi Katia,

Unfortunately, the problem stills remain....

I guess my question has not been explained clearly. 

I have tried to set up the service on .net Framework without any problem ( usable with Postman, HTML viewer, pure Javascript..etc, the issues only happen if I try the service running Net Core. Whichever request I send to this report .Net core services (except the Register Client), the service throw back the error 415 Unsupported Media. This error only happens if I try to use Postman or javascript client but not from Telerik HTML Viewer

 

0
Trung
Top achievements
Rank 1
answered on 31 Jan 2018, 12:40 AM

Hi Katila,

I have figured out the problems. The cause is due to my setup and configuration of the project. Everything works now. 

Thanks for your help

Tags
General Discussions
Asked by
Trung
Top achievements
Rank 1
Answers by
Katia
Telerik team
Romeo
Top achievements
Rank 1
Trung
Top achievements
Rank 1
Share this question
or