Saving Report Without Business objects
Posted: Fri Aug 26, 2022 10:41 am
I would like to remove the business objects from my report before saving it to the disk.
I have attached some code to the OnSaveReport - where I can remove the business objects but how do I finish saving the report to disk form here?
I have attached some code to the OnSaveReport - where I can remove the business objects but how do I finish saving the report to disk form here?
Code: Select all
<StiBlazorDesigner @ref="@Designer" Options="@options" Report="@SelectedReport.SReport" OnSaveReport="DesignerSaveReport" />
private void DesignerSaveReport(StiReportDataEventArgs args)
{
args.Report.Dictionary.BusinessObjects.Clear();
// How to finish saving report here?
}