SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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

share|improve this question

I think you're probably out of luck as it's a massive security risk. Imagine a malicious document sitting on a server that is forcibly opened. Much badness.

If you're in an Intranet environment you might be able to accomplish it, but this would require a combination of:

  • configuring the browser to trust your site
  • installing an addin to browser that would allow the forcible opening of documents
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.