Skip to main content
edited title
Link
user avatar
user avatar

Open document in read-onlywithout any prompts

Source Link
user avatar
user avatar

Open document in read-only

We have a page that aggregates data from a number of SP sites, the user can then click a button to open a bunch of documents relevant to them.

At the moment I am using window.open() to open the documents. This usually prompts the user with the dialog asking them if they want to open or save the document. Is there a way I can open the document without any dialog? I've tried the editDocumentWithProgID2 method but that still p[prompted me