• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • Last Modified:

sharepoint - links

how to open automatically links in a new window or new tab in sharepoint.
Currently links are opening on th same window ( sharepoint portal)
 any advise that how can change it to open in a seperate window.
0
dkumeri
Asked:
dkumeri
  • 3
  • 2
1 Solution
 
OestoneeCommented:
1.     Download OpenListItemInNewWindow.dwp from the given URL http://www.mindsharpblogs.com/Files/OpenListItemInNewWindow.zip and Unzip that File.

2. Go To your Document Library. (i.e It Should be AllItems.aspx Page).

3. Go to Edit Mode (From Site Actions > Edit Page)

4. Click On Add WebPart.

5. You will find Advanced Webpart Gallery and WebParts in the Right Side Button of Add WebParts -- WebPage Dialog Window.

6. Click Advanced Webpart Gallery and WebParts.

7. You will Get Add WebParts Pane. Here You will find Browse in that right side corner you will one tilt.

8. Click that tilt and you will find Browse, Search, Import.

9. Click on Import and Browse the OpenListItemInNewWindow.dwp file and Click Upload. After Upload that file It will display in the Add Web Part Pane.

10. Drag that webpart into the page or Select and click Import.
0
 
OestoneeCommented:
I forgot to mention place the webpart directly under your link list
0
 
dkumeriAuthor Commented:
the links webpart already exists, these link should open in a different window.

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
OestoneeCommented:
That's what this webpart does.... forces the link to open in another window
0
 
dkumeriAuthor Commented:
I followed your steps but this webpart deosn't show up when I publish it on a  site
0
 
GGSanthoshCommented:
Open the schema file for the links list feature.  In my case, it was located at:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\LinksList\Links\schema.xml
In this file there should be two instances of the following:
 
<Column Name="URL" HTMLEncode="TRUE" /><HTML><![CDATA[">]]></HTML>
Replace them both with this:
 
<Column Name="URL" HTMLEncode="TRUE" /><HTML><![CDATA[" target="_blank">]]></HTML>

Then restart IIS (or just the application's worker process), and now all the links in your links lists should open a new browser window

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now