How to Display File Extensions in a SharePoint Document Library

How to Display File Extensions in a SharePoint Document Library

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


Method1:
  • 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”/>
This solution can be seen in context by clicking here.

Method2:
  • 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. 
Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Steven Andrews edited Revision 5. Comment: Added link for original solution.

  • Ed Price - MSFT edited Original. Comment: TItle casing, font style, added tags

Page 1 of 1 (2 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Steven Andrews edited Revision 5. Comment: Added link for original solution.

  • I was looking to create an article for this but I can see that Pratik had the same idea.  I've added the "From Forum" tag as per forum inspired posts.

  • Ed Price - MSFT edited Original. Comment: TItle casing, font style, added tags

Page 1 of 1 (3 items)