Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Assign a specific icon for your pdf files in SharePoint

Print

ZTN4281

ID: ZTN4281

This Zetadocs technical note applies to:

  • Zetadocs for Microsoft Dynamics NAV

Summary

This technote describes how to set a specific icon for your pdf files in SharePoint.

More information

Should you wish to assign a recognisable icon to the pdf files in your archive it is possible to have any suitable image represent your content. If you do not wish to add a specific icon simply skip the steps below and continue with the additional steps relevant to your SharePoint version.

  • Firstly you need to locate a suitable icon to represent pdf files in your SharePoint system.
  • Copy this icon file to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images
  • Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\XML and open the Docicon.xml file in a text editor such as Notepad.exe.
  • Adjust the file to include the .pdf extension by adding < Mapping Key=" pdf" Value=" < your image file name with extension> " /> and saving the file.

Additional steps required on SharePoint 2010 Systems

These next steps are relevant to SharePoint 2010 systems only, if you are using foundation please proceed to the next step.

  • Launch the SharePoint Central Administration program.
  • Click General Application Settings from the left-hand menu.
  • Select Farm Search Administration from the Search section.
  • Select the Search Service Application option.
  • Select File Types from the Crawling section.
  • Click New File Type.
  • Enter pdf in the File Extension text box and click OK.
  • Perform a Search Service stop: Start  >   Run  >   net stop spsearch
  • Perform a Search Service start: Start  >   Run  >   net start spsearch

Additional steps required on foundation systems

On foundation systems you will also have to carry out the following steps.

  • Click Start  >   Run  >   REGEDIT and then locate the following registry subkey: Foundation Systems
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Applications\< GUID> \Gather\Search\Extensions\ExtensionList\
  • Select Edit  >   New  >   String Value
  • Assign the name 38 to the new string or the next available number.
  • Give it the value pdf
  • Perform a Search Service stop: Start  >   Run  >   net stop spsearch
  • Perform a Search Service start: Start  >   Run  >   net start spsearch

Last updated 23rd August 2013 (MW/)

EquisysLogo

Recent news

It’s that time of year again. Directions EMEA is right around the corner. This year, it takes place at the Austria Center in Vienna, between 9-11 October. Traditionally, Directions NA would take ...

We are delighted to announce that the Zetadocs Delivery and Zetadocs Capture Extension for Business Central is now available on AppSource, the app store for Business Central. This is an ...