Saed Al Shaar Dev Tips and Tricks

.NET and SharePoint from a different angle!

Archive for the tag “SharePoint 2010”

Open PDF files within Browser in SharePoint 2010

Hi Folks,

When you open a PDF file in SharePoint 2010, it tends to ask for saving the file on the local drive. Follow the following steps to make it open the PDF files within the browser.

1- Open SharePoint Central Administration.

2- Click on Web Application Management.

3- Highlight the Web Application you want (usually the main site collection on port 80).

4- Click on General Settings.

5- In the Browser File Handling section, choose Permissive.

That’s it!

Happy SharePointing!


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 (

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.



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



5- Do an IIS reset.

And that’s it!!

Happy SharePointing!


Post Navigation

%d bloggers like this: