Declined
Last Updated: 08 Nov 2019 16:06 by ADMIN
n/a
Created on: 01 Nov 2019 17:50
Type: Feature Request
0
implement function for webReportDesigner to load report from strings

in our solution, we store the trdx reports designed with Standalone Designer as xml strings in our database,
and render them to pdf in the background services by using  Telerik.Reporting.XmlSerialization.ReportXmlSerializer.Deserialize

the new web based designer would be a good addon to integrate report design directly into the appliciation.

but the current preview version of webreportdesigner needs to be configured with a FileStorage.
it is possible to override the GetReport and SaveReport functions in a custom ReportDesignerController and load the report from a string (db in our case),

but since the ReportJsonSerializer is an iternal class, it is not possible to create a json response and send it to the webeditor.

so it would be helpfull, either to make the ReportJsonSerializer a public class so it can be used to convert the report manally to json, or extend the

whole thing to load the reports from strings directly.

 

1 comment
ADMIN
Neli
Posted on: 08 Nov 2019 16:06

Hi,

Thank you for the feedback.

You can design reports which are stored in a custom storage location through the Web Report Designer. Out-of-the-box we provide a FileDefinitionStorage which is configured to use the file system. To open reports stored in a different manner you need to implement the IDefinitionStorage interface. This will enable the web designer to load reports from a custom location such as a database, cloud, in-memory, etc. For more information, you can refer to the help article How to: Implement a report definition storage.

Note that you don't need to use the ReportJsonSerializer to convert the report manually to JSON.

Based on the given points above, the Feature Request will be declined.

Regards,
Neli
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