Open Document directly in Edit Mode within SharePoint from an Email link
If you send a link to a SharePoint document with Email to another user, the document is opened in read only mode. It is not possible to open it directly in Edit Mode. Therefore I wrote a little JavaScript which can do that easily. Steps to implement: 1.) Create a new page on the sitecollection you want to have this ability. Name it OpenDoc. 2.) Add the "XML-Viewer" WebPart from "Content Rollup" category. 3.) Open the WebPart Settings of the XML-Viewer WebPart 4.) Click on XML-Editor Button and add following JavaScript into it: <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(LoadDoc, "sp.js"); function LoadDoc() { JSRequest.EnsureSetup(); var file = JSRequest.QueryString["file"]; if (typeof file != "undefined" && file != "") { var baseUrl= " http://sharepoint/sites/mysite "; var host = location.protocol + "//" + location.host; ...