Showing Pdf Image in SharePoint 2010

Have you ever wondered why SharePoint does not display the pdf images for all the pdf documents?

Here is a small workaround to include the pdf images in the adobe pdf documents.

  • Copy the sample.gif file that you want to use for the icon to the following folder
  • D:\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Images
  • Stop IIS at a command prompt by running the following command IISReset /stop
  • Edit the Docicon.xml file to include the .pdf extension
  • Open the Docicon.xml file under D:\Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Xml
  • Add an entry for the .pdf extension <Mapping Key="pdf" Value="sample.gif"/>
  • Save the notepad changes
  • Start the IIS by running the following command IISReset /start
Ebook Download
View all
Learn
View all