HTML5 Report Viewer json data source

4 posts, 0 answers
  1. kelvin
    kelvin avatar
    1 posts
    Member since:
    Oct 2016

    Posted 14 Oct 2016 Link to this post

    Is it possiable to use web api(json) as data source of the HTML5 Report Viewer?
  2. Stef
    Admin
    Stef avatar
    3325 posts

    Posted 18 Oct 2016 Link to this post

    Hello Kelvin,

    Reports are processed and rendered on the server, where the Reporting RESt service is running. The HTML5 viewer is only a client that can reside in any web application. the viewer loads content rendered on the server.

    About binding data, there is no data source component that works directly with JSON formatted data. We can suggest you to create a data access layer in which yo consume the JSON data into a .NET data object e.g. DataTable or business object, and then use it via ObjectDataSource component.

    Please consider the example in Connecting Telerik Reporting to OData feeds.


    I hope this helps.

    Regards,
    Stef
    Telerik by Progress
    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. kiran
    kiran avatar
    1 posts
    Member since:
    Mar 2017

    Posted 06 Mar in reply to Stef Link to this post

    Hi,

    I am exploring telerik report, was lookin at Connecting Telerik Reporting to OData feeds.

    Do you have latest sample code with restful api as data source using angular?

     

    Thanks

    Kiran J

     

     

  4. Stef
    Admin
    Stef avatar
    3325 posts

    Posted 09 Mar Link to this post

    Hello kiran,

    In general, reports are processed and render on the server machine where the Reporting REST service is running. Thus data must be accessible on the server machine. The example in Connecting Telerik Reporting to OData feeds illustrates how to consume the data deliver by a data service.Note that XML or JSON cannot be consumed directly, and you need to deserialize the data into a .NET object.
    You can add the HTML5 Viewer in any web application, where you should consider adding a link to jQuery - HTML5 Viewer in AngularJS project.

    We will appreciate your vote and comments for the logged feature request - Angular Report Viewer.

    Regards,
    Stef
    Telerik by Progress
    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
Back to Top