Telerik Report Services Implementation Issues!!!

6 posts, 1 answers
  1. Trung
    Trung avatar
    8 posts
    Member since:
    Jan 2018

    Posted 17 Jan 2018 Link to this post

    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

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 22 Jan 2018 Link to this post

    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
  3. Romeo
    Romeo avatar
    1 posts
    Member since:
    Aug 2014

    Posted 24 Jan 2018 in reply to Katia Link to this post

    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 client, 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 happen when I create the Rest API under .net Core 2.0 Template but target .Net Framework 4.6.1. I am thinking of using other Report engine now unless this problem get resolved....
  4. Answer
    Katia
    Admin
    Katia avatar
    693 posts

    Posted 29 Jan 2018 Link to this post

    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
  5. Trung
    Trung avatar
    8 posts
    Member since:
    Jan 2018

    Posted 29 Jan 2018 in reply to Katia Link to this post

    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 on .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 oher javascript client but not from Telerik HTML Viewer

     

  6. Trung
    Trung avatar
    8 posts
    Member since:
    Jan 2018

    Posted 30 Jan 2018 Link to this post

    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

Back to Top