Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a site page where I am trying to add a link to a particular calendar in outlook web access.

The URL is

https://exchange.server.com/owa/sharedcalendaruser@mydomain.com/?cmd=contents&module=Calendar&view=monthly

Sharepoint however urlencodes it, so the @ sign changes into %40. Exchange doesn't like that, so the URL doesn't work.

How can I make sharepoint keep the link the way I enter it?

share|improve this question
add comment

2 Answers

up vote 7 down vote accepted

A content editor web part can load the source HTML from a file and doesn't reformat it.

Store the HTML in a file called "calendarhtml.txt", or something meaningful, and point the cewp to that.

share|improve this answer
    
It seems even if you just add the link to a content editor web part, sharepoint doesn't reformat it. So no need to load it from a file. Just put the link in a content editor part instead of directly on the page. –  Grant Mar 6 '13 at 14:46
add comment

I have had good luck placing links in Web Part Pages Content Editors with javascript when I don't want SharePoint to change a relative URL to an Absolute. Maybe that will work.

<A title="A Test" href="javascript:window.location.href('http://myaddresshere.com/tech/@234?i=whatever')">My Link</A>.  See if that works
share|improve this answer
add comment

Your Answer

 
discard

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

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