Page 1 of 1

Client side save as packed report

Posted: Thu Oct 11, 2018 12:36 pm
by Stéphane
Hello,

With Reports.Web .NET Core HTML5 designer, is it possible to indicate to save the report as a packed report when saving reports on the client side ?

Cordially,
Stephane.

Re: Client side save as packed report

Posted: Fri Oct 12, 2018 2:46 pm
by Lech Kulikowski
Hello,

You can use Save event:

Code: Select all

public IActionResult SaveReport()
{
    StiReport report = StiNetCoreDesigner.GetReportObject(this);

    // Save the report template
    string pcReport = report.SavePackedReportToString();

    
    return StiNetCoreDesigner.SaveReportResult(this);
}
Thank you.