Tuesday, January 26, 2010

How to overcome allowable limit for a Sharepoint URL in Outlook message body

One of our user was creating Survey in Sharepoint and when he tried to embed the survey entry url in the email to be sent to entire company, the url got truncated in the email send.
The workaround is to shorten the SharePoint url.
In our case we couldn't use Alternate Access Mapping and create separate url.
So the workaround was to shorten the url using NewForm.aspx-
http://abc.com/xyz/list/mysurvey/NewForm.aspx?Source=http%3A%2F%2Fabc%2Ecom%2Fxyz%2Flist%2Fmysurvey%2FAllItems%2Easpx
to http://abc.com/xyz/list/mysurvey/NewForm.aspx