Friday, November 06, 2009

Adding a New Text Search File Type

As heavy Interwoven document management users, we sometimes include Interwoven link files (.NRL files) in SharePoint document libraries. This doesn't give a whole lot of functionality in and of itself, but it is necessary. The NRL is a very simple one line text file that contains a library name and a document and version number. There are times when a user might want to search on the document number, so we needed to add the NRL as a searchable file type.

To do this, there are two places the extension needs to be added in the registry, and the SSP needs to know about the file type (Search settings / File types / New File Type). Your registry keys will look like the entries below. It would be good to verify the GUIDs with the TXT entries on your system. If you navigate in the registry to the locations below you will see how the keys look.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.nrl]
@="{C5BD8BA8-4209-4A15-B010-534AEB020A54}"


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.nrl]
@="{4A3DD7AB-0A6B-43B0-8A90-0D8B0CC36AAB}"


Naturally, this would extend to other text file types and of course you will do this in your test environment first, etc., etc., blah, blah.

No comments:

Post a Comment