Preaching SharePoint

Open document in new window from SharePoint document library

The hack is ofcourse modifying XSLT in SharePoint Designer. Here is how you do it,
1.      Open the site in SharePoint Designer and then open the document library allitems.aspx.
2.      Right-click the document library web part and select “Convert to XSLT data view”.
3.      Locate the name column, you will see this tag “<xsl:otherwise ><A onfocus="OnLink(this)"  HREF="{@FileRef}"….. </xsl:otherwise>”, 
    add “target="_blank"” in <A> tag.
After this, the documents will be opened in a new window.


0 Respones to "Open document in new window from SharePoint document library"

Post a Comment


Do you want SharePoint 2013 to inherit Metro Style design?

Search This Blog

Return to top of page Copyright © 2010 | Platinum Theme Converted into Blogger Template by HackTutors