When I receive an email in Outlook that has a link to a document on SharePoint, the link just downloads the file to be opened by my locally installed Office 2010. I've figured out that this happens when the sender links to the email by using the "Email a Link" function in SharePoint. However, when the user right clicks the document and just copy and pastes the link to the document in an email, it will open right up in SharePoint like I want it to.

Is there something I can do on my end so that the files are never downloaded, but rather always opened in SharePoint?



Probably your list has the option "browserfilehanding" set to "Permissive". Change it to "Strict":

$site = Get-SPSite("http://SharePointSite")
 $web = $site.OpenWeb()
 $list = $web.GetList("http://SharePointSite/Attachments")

 write-output $list.browserfilehandling
if ($list.browserfilehandling -eq "Permissive")

 $list.browserfilehandling = “Strict” ;

  • 1
    You cannot use the server object model in PowerShell in SPO.
    – wjervis
    Aug 19 '14 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.