In SharePoint 2007′s Document library, the Send To->Email a Link context menu will open your local email client and put the link of that document in the email body. However, it seems URL encode the whole URL, instead of just the relative path. So the URL will end up like this:
http://subdomain%2Ecompany%2Ecom/Documents/folder/subfolder/My%20File.doc
Basically, the dot (.) in the domain name is also URL encoded (%2E). If you copy and paste it to IE it will still load, but clicking it from Outlook doesn’t work.
To fix it, open CORE.js from \12\TEMPLATE\LAYOUTS\1033, fine this line:
fileUrl=escapeProperly(httpRootWithSlash.substr(0, slashLoc))+currentItemUrl;
and replace it with this:
fileUrl=httpRootWithSlash.substr(0, slashLoc)+currentItemUrl;
I found OWS.js (in same folder) also have this. But changing CORE.js alone will fix it. I don’t know what’s the difference between these 2 files.
[...] Thanks Calvin998 for posting the Send To > Email a Link Fix [...]
It looks like WSS 3.0 SP1 takes care of this problem.
This problem was first encountered when MOSS came out last Nov, and this issue was resolved via SP1 for MOSS and WSS.
Calvin, thanks! That did it…
Hi:
In an extended SharePoint website; menu option “Send To -> E-mail a Link” is not being displayed; while rest options are appearing.
Does anyone have any solution to this?
Regards
Cool, this is great stuff
I still got this problem in SP2 for WSS3.0/MOSS2007.
Anyone knows if this is fixed in any CU patch?
Think my problem is that the language pack was not updated. Will try that.
Found a fix. If you right click on the actual document. You will recieve the option to “copy shortcut” which will allow you to paste it into an e-mail or other document. From there, the reciever of the message will be able to open the document and provide edits, then save them.
If you use the drop down option “send to – e-mail a link” the receiver will only be allowed to read the document you sent.
Hope this helps. I know it has for me and my users within our company.
Service pack for the language pack solved our problem. Now send to e-mail and right klick and copy url gives the same result.
Does anyone know why the option to sent a link is not avaiable for a folder (only for a document)? In 2003 we the ability to send a link to a folder was possible. Thanks!
Tony’s fix also works for a folder.