How do I add a Search filter for my dev language?

Hello

Can you tell me how to add a Search filter I have successfully added a Contents/Index filter, as described in the Help Authoring and Integration Guide. However I can't find any documentation on adding Search filters.

In particular, I want to add a language to the language drop-down Search filter. I have the DevLang S attribute set in all the relevant HTML files. I have created an Slinks.HxK file and have included that in the corresponding .HxC file.

thanks
Peta




Answer this question

How do I add a Search filter for my dev language?

  • M,Ramesh

    Hello Jeremy

    Thanks for your help with this. I've got the search filters working, and now have a further question.

    Is it possible to install the filters separately from the Microsoft filters and not in:
    Program Files\Common Files\Microsoft Shared\VS Help Data\8.0\Filters\1033

    I would normally expect to install our custom files in a different location and have the Registry point to those.

    If I can install the files elsewhere, how do I tell Visual Studio where to find them

    Thanks
    Peta



  • Dan Balsbaugh

    Thank you Jeremy

    That all makes emminent sense and matches what I can see in my setup. I'll have a go.

    Thanks again
    Peta

  • vmit

    Hello Peta,

    It sounds like you are a VSIP Partner trying to integration Help.  Correct me if I'm wrong so I can properly understand your scenario.

    There are two primary things you need to do to include a custom search filter:
    1) Author the xml file that defines the filter, and install it with your installer
    2) Write the registry key that tells VS to display that search filter

    Author the Xml file:
    In VS2005, the search filters are xml files stored on disk. They are simple to author, probably the best way to see how to do it is to take a look at the existing files that were installed on your machine with VS2005.  You can find them in the following directory on your machine:
    Program Files\Common Files\Microsoft Shared\VS Help Data\8.0\Filters\1033

    Write the registry key:
    Here is the registry hive where you need to specify that your search filter should be displayed:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Help\VisibleFilters

    Let me know if you have any further questions about this!

    Thanks,
    Jeremy Jones

  • How do I add a Search filter for my dev language?