Sharepoint: Open links in new window

Ok, this is a simple question really.You have a links list, and want the links to open in a new window. Not really best practise, but a common request for external links. (Best practise is of course to let the user decide – just hold down Shift while clicking the link and it opens in a new window). 

The answer can be simple or a little more advanced, depending on how you solve it:

1.#openinnewwindow

 To add #openinnewwindow to the end of the URL is a common suggestion, but it doesn’t work unless you make some JavaScript modifications.

2. Summary Links Web Part

Using MOSS, you say? Well, let the Summary Links Web Part come to the rescue. This web part is included in MOSS. Add this web part to a page and you can easily customze the links.

Summary Link Web Part

The drawback is that you add and edit the links in the web parts itself, it’s not connected to a list – not the Sharepoint way to do it if you ask me. You’ll have to have Design or Contribute permissions to add links that everyone can see.

3. Convert to XSLT Data View

OK, you only have WSS but you have Sharepoint Designer? Well, just open the page where you have a web part showing links from you links list in Sharepoint Designer.

Right-click – Convert to XSLT Data View.

Convert to data view

Now you can right-click a link and set the target to a new window.

Continue reading →