Default FileName when sending document to browser or word



Is there a way to set the default save path and filename of a document that is sent to ‘OpenInBrowser’ or ‘OpenInWord’, so that when a user clicks either ‘Save’ or ‘Saves As’ button it is already set to a path and filename specified by the calling application?


When you use Document.Save overload that takes a HttpResponse object, you need to specify document name that will appear at the client browser. But I don’t think you can control what folder opens in the browser dialog box by default.