Share via


PageWindow.SaveAs Method

SharePoint Designer Developer Reference

Writes the specified page object to the destination URL.

Syntax

expression.SaveAs(DestinationUrl, ForceOverwrite)

expression   A variable that represents a PageWindow object.

Parameters

Name Required/Optional Data Type Description
DestinationUrl Required String The entire URL for the Web site, such as "C:\My Documents\My Web Sites\Adventure Works\index.htm". This can be any URL for a Web site, such as http://web_server/folder/file or file://file_system/folder/file for disk-based Web sites.
ForceOverwrite Optional Boolean False to not overwrite an existing file. The default value is True.

See Also