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

Custom Report Serialization

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 22 Jan 2013, 03:56 PM
Hi,

Please could you give me some advice on the following. We are developing an application that will allow users to define their own custom reports that will be generated from our application data. The proposal is to simply allow the user to specify the grouping and column details that they wish to include in the report and then save their selection. A report would then be produced using telerik reporting based on the details they have selected.

One approach that we have considered to implement the above would be to create an xml file to generate the report from. This xml would be based on the xml generated by the telerik report serialization method, which would allow us then to create the report by deserializing the report using the telerik methods.

The thinking behind the above is that it would create a clean method of storing (they need to be saved for re-use and further amendments of the grouping/fields) and generating the report based on the same xml source. Do you think that this would be acceptable way of generating our reports?

Also is there any documentation defining the telerik xml file format, and is this format likely to change and potentially break any files we create?

Thanks

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Jan 2013, 02:30 PM
Hi Steve,

Yes, that is an acceptable way of generating reports, although it is more error prone. A better approach would be to create CLR reports and then serialize them to xml, rather than working with xml definitions manually.
Currently the trdx format is a standard xml, but it is likely this would change as we further developer the designer and optimize it. Still goal #1 would be to make it as backwards compatible as possible, so that people can easily migrate their old reports.

Kind regards,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

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