in

jetlounge

the minty fresh blog that whitens your teeth!

Adding Adobe PDF Icons and Search Capability in MOSS 2007

by David Leibowitz | June 10, 2008 | Comments: 0

1. Ensure Office SharePoint and Windows Search service are enabled

2. Download & install Adobe Acrobat Reader 8.1 - which includes iFilter
3. Download the PDF icon (select 'small 17 x 17') from http://www.adobe.com/misc/linking.html

and copy to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images"

4. Edit the Docicon.xml file to include the .pdf extension. To do this, follow these steps:
a.  Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in one of the following folders on the server:

SharePoint Portal Server 2003 - Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\Xml

SharePoint Server 2007- Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml

b.  Add an entry for the .pdf extension. For example, add a line that is similar to the following to the Docicon.xml file, where NameofIconFile is the name of the .gif file:
<Mapping Key="pdf" Value="pdficon_small.gif"/>
c.  On the File menu, click Save, and then quit Notepad. 

5.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\GUID\Gather\Search\Extensions\ExtensionList
On the Edit menu, point to New, and then click String Value. d. Type 38, and then press ENTER.
Right-click the registry entry that you created, and then click Modify.
In the Value data box, type pdf, and then click OK.

6. Add the .pdf file type to the content index. To do this, follow these steps:
 a.  Connect to the portal site, and then click Site Settings.
 b.  On the Site Settings page, click Configure search and indexing under Search Settings and   Indexed Content.
 c.  On the Configure Search and Indexing page, click Include file types under General Content   Settings and Indexing Status.
 d.  On the Specify File Types to Include page, click New File Type.
 e.  On the Add File Type page, type pdf in the File extension box, and then click OK.

6. Install IFilter 6.0   (may not be necessary if Acrobat 8.1 is installed)

7. Run "net stop osearch" and then "net start osearch" from command line. (if not restarting)

8. Run "net stop spsearch" and then "net start spsearch" from command line. (if not restarting)

9. Go to Application Management > Content Databases > Select your content db and set your search search server.

10. Recrawl the site

 

I probably had a few extra steps in here, but it worked.

del.ico.us digg this technorati BlinkList Furl reddit DotNetKicks google! live Facebook Stumble Upon Yahoo!



Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Non-Commercial Edition), by Telligent Systems