Posted 4 March 2025, 1:58 am EST
Hi Micheal,
It seems that you are using a Custom Store for your Web Designer and the issue seems to be with the designer configuration or the SaveReport method in your custom store. Please make sure the Save Report method handles the temporary report(generated on Report Preview) save differently from the non-temporary report saves.
Sample Code:
public string SaveReport(ReportType reportType, string reportId, Stream reportData, SaveSettings settings = SaveSettings.None)
{
if ((settings & SaveSettings.IsTemporary) != 0)
{
var tempName = Guid.NewGuid() + GetReportExtension(reportType);
_tempStorage.Add(tempName, reportData.ToArray());
return tempName;
}
return _store.SaveReport(reportType, reportId, reportData);
}
Also make sure the DeleteReport API is deleting those temporary reports. The DeleteReport method is called when the user changes the tab from Preview to Design.
For more information on the implementation of a custom store, please checkout the following sample application: WebDesigner_CustomStore
If the issue persists then please share a sample application reproducing this issue.
Regards,
Akshay