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.
Parameters:
file_name or URLSpecifies document location.
Returns CommandResult.FAILED if an error occurred when saving the document or if user has canceled the command. Otherwise, returns CommandResult.DONE.