Monday, December 21, 2009

Redirect from a Page(Document Library) to any custom location in MOSS 2007

There was a requirement to redirect a user when (s)he clicks on a Document Library link from Quick Launch to a Shared Network Location, where the actual documents would reside. This was achieved in the following way.
Go to Site Actions ->Edit Page(of the document library in this case). Click Add a Web Part. In the Dialog Box that appears, pick Content Editor Web Part and click Ok. Click on Open the tool pane and click on the Source Editor button, add the following code to the Source Editor window.
<meta equiv="refresh" content="10;url=\\shared location">
where 10 is the number of seconds, after which the refresh occurs.
This was referred from the following link.

Wednesday, December 2, 2009