122. XXE.saveAs

Parameter syntax:

[ file_name | URL ]?

Saves document being edited to a different location.

Without a parameter, this command displays the file chooser dialog box to let the user specify the document location.


file_name or URL

Specifies document location.

Returns Command.EXECUTION_FAILED if an error occurred when saving the document or if user has canceled the command. Otherwise, returns null.