Share via


WebWindow.SaveReport Method

SharePoint Designer Developer Reference

Saves a specified report to an HTML file on the user's computer.

Syntax

expression.SaveReport(reportviewModeEx, DestinationUrl, Title, ForceOverwrite)

expression   Required. A variable that represents a WebWindow object.

Parameters

Name Required/Optional Data Type Description
reportviewModeEx Required WebViewModeEx The type of report you want to save.
DestinationUrl Required String The target file name for the report.
Title Required String The title of the new report.
ForceOverwrite Optional Boolean Indicates whether any previously created report with the same file name should be overwritten by the new report. If True, an existing file is overwritten. The default value is True.

See Also