This is one of those things that “p@@@s” folks to no end concerning SharePoint, still for the reason as to why Microsoft did not include PDF file type as part of the backend so your document libraries portal will recognize the files automatically, eludes me.
After careful testing, I found a method that works and can have your portal running with PDF files right away.
You need the following: Assuming your on 64bit Environment...
Download and install on the SharePoint server Adobe’s 64-bit PDF iFilter http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
Download the Adobe PDF icon (select Small 17 x 17) – http://www.adobe.com/misc/linking.html
Give the icon a name or accept the default: ‘pdficon_small.gif’. Save the icon (or copy to) C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES
- Edit the DOCICON.XML file to include the PDF icon
a. In Windows Explorer, navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XM
b. Edit the DOCICON.XML file (I open it in WordPad)
i. Ignore the section <ByProgID> and scroll down to the <ByExtension> section of the file.
c. Within the <ByExtension> section, insert <Mapping Key=”pdf” Value=”pdficon_small.gif” /> attribute. The easiest way is to copy an existing one – I usually just copy the line that starts <Mapping Key=”png”… and replace the parameters for Key and Value.
i. Save and close the file.
d. Add PDF to the list of supported file types within SharePoint.
e. In the web browser, open SharePoint Central Administration
f. Under Application Management, click on Manage service applications
g. Scroll down the list of service apps and click on Search Service Application. Within the Search Administration dashboard, in the sidebar on the left, click File Types
h. Click ‘New File Type’ and enter PDF in the File extension box. Click OK
i. Scroll down the list of file types and check that PDF is now listed and displaying the pdf icon.
j. Close the web browser
Stop and restart Internet Information Server (IIS) Note: This will temporarily take SharePoint offline.
Perform a full crawl of your index.
Note: An incremental crawl is not sufficient when you have added a new file type. SharePoint only indexes file names with the extensions listed under File Types and ignores everything else.
When you add a new file type, you then have to perform a full crawl to forcibly identify all files with the now relevant file extension. That’s it. If you now perform a search, PDF files should be displayed in results where they match the search query, along with the PDF icon on display in results. The icon should also be visible in any document libraries that contain PDF files.