How to open existing document without prompt


When users are opening an attachment (without template) and they are in read mode, why a dialog window appears with the question: read, write or detach?

When I'm using a template, then I can choose to open the attachment in read mode when the user is in read mode. I'm not using a template.Is it possible to open directly an attachment in read mode when a user is in read mode without the dialog?


If you have document that is stored as existing document, you should use global variable "SW_ExistingAttachmentReadMode" in the “SwIntOfficeMsg” lib that defines what will happen when existing document is launched.

Choose one of the options in this global that will suit your need.