Saed Al Shaar Dev Tips and Tricks

.NET and SharePoint from a different angle!

Show PDF Icon in SharePoint 2010


Hi Folks,

This is a brief steps to get the PDF Icon file show on the document libraries in SharePoint 2010:

NOTE: You need to do the following on ALL the Farm servers.

1- Download the PDF icon file (http://www.adobe.com/images/pdficon_small.gif)

2- Copy the GIF file into the following directory in ALL the farm servers.

%Root%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES

3- Open the DOCICON.XML file(s) in ALL the farm servers, in the following location:

%Root%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML

4- Add the Mapping tag as follows, and then save the files.

<ByExtension> 

          ……..

<Mapping Key=”pdf” Value=”pdficon_small.gif”/>

……..

</ByExtension>

5- Do an IIS reset.

And that’s it!!

Happy SharePointing!

Saed

Advertisements

Single Post Navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: