Home | Blog | Screencasts | Projects
# Thursday, June 12, 2008

Today I was asked if it was possible to have a different icon display in the search results if the returned document was a PDF.

The answer was yes.

Here’s how:

 

  • Save the image to the <12 hive> \Template\Images\   directory
  • Edit the following xml file:  <12 hive>\Template\Xml\DOCICON.XML
  • Add the following line: <Mapping Key="pdf" Value="pdf.gif"/>

 

*Note the <12 hive> is normally located at: C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12

Thursday, June 12, 2008 1:33:00 PM (E. Australia Standard Time, UTC+10:00)  #    Comments [0] - Trackback
Sharepoint | Work
Statistics
Total Posts: 191
This Year: 4
This Month: 0
This Week: 0
Comments: 41