Out of the box, Sharepoint Links lists don't give you the ability to open links in a new window (i.e. no access to the "target" attribute of the link). But a quick SharePoint Designer (or FrontPage) trick can fix that.
If you need your links in a Links list to open in a new window, you can do the following:
- Open the view document for the list in Sharepoint Designer (e.g. /Lists/Links/AllItems.aspx)
- Right-click on the List View Web Part (WebPartPages:ListViewWebPart) and Click on the option that says, "Convert to XSLT Data View"
- Right-click on the text of one of the links and choose "Hyperlink Properties"
- Click the "Target Frame" button on the right and pick "New Window"
- Click OK and then OK!
- Save the document
You'll notice that this is an all-or-nothing fix: all present and future links on this page will open in a new window.
If you need your links in a Links list to open in a new window, you can do the following:
- Open the view document for the list in Sharepoint Designer (e.g. /Lists/Links/AllItems.aspx)
- Right-click on the List View Web Part (WebPartPages:ListViewWebPart) and Click on the option that says, "Convert to XSLT Data View"
- Right-click on the text of one of the links and choose "Hyperlink Properties"
- Click the "Target Frame" button on the right and pick "New Window"
- Click OK and then OK!
- Save the document
You'll notice that this is an all-or-nothing fix: all present and future links on this page will open in a new window.
Thanks! But simple and easiest solution is: Create a Site column of "Hyperlink with formatting and constraints for publishing" type and add it in your list, which enables you to specify "Open in New Window" Option!
ReplyDeleteThere are few more possible solutions, including JavaScript, JQuery, SharePoint Designer, List Schema Edit to make SharePoint Link list open in new window at SharePointDiary.com -
SharePoint Link list: Open in a New Window