load a report from a saved json string
Posted: Tue Sep 04, 2018 5:26 am
hello ,
I am trying to load a report from a saved json, I saved the report to a jason string:
then I used the saved json to load it to a new report:
[/code]
Can you please help?
Thanks in advance
I am trying to load a report from a saved json, I saved the report to a jason string:
Code: Select all
var json = this.designer.report.saveDocumentToJsonString();
Code: Select all
this.designer = new Stimulsoft.Designer.StiDesigner(this.options, 'StiDesigner', false);
this.designer.report = new Stimulsoft.Report.StiReport();
this.designer.report.load(json);
this.designer.renderHtml('designer');
Can you please help?
Thanks in advance