Tuesday, December 13, 2011

How to: display files extensions in SharePoint Document Library

There are 2 ways to show file extensions in a SharePoint document library

  • Convert the document library List View web part to a XSLT dataview
  • Open the document library with FrontPage,
  • Right click and convert to DataView.
  • Modify the XSLT to add select=”@File_x0020_Type”/>

  • Modify the display pattern in ONET.XML
  • Add
  • Name=”File_x0020_Type”/>
  • Before
  • Name=”Created_x0020_Date”>.
After making a change to ONET.XML you have to do IISRESET.

No comments: