Useful Searches to add to your Help view

As promised in the previous post, here are the instructions on how to add specific search locations to your Help view.

To add new search locations to your Help view, press F1 to display the Help view, and click on the Search tab. Expand the Search Scope section, and click on Advanced Settings to display the Search Scope window.

 To add a web search site you need to work out the URL for the search. The simplest way of doing this is to go the web site you want to search and enter a search. Look at the URL that opens when the results are displayed. You can then take the relevant part of the URL for the search, and add it as a new Search Engine. Lets use MQSeries.net as an example. If you go to the homepage of MQSeries.net there is a Search field. Enter a search term and click the Search button. When you click the Search button the URL that displays the results contains the search query to use. In this case it is a Google search, limited by a search of the domain.

Click New… to open the New Search Engine window, and select Web Search from the list of available options. Click Finish. In the Web Search section for this entry you can now enter a Name, Description and a URL Template for the Web Search. For MQSeries.net, you need to enter the following template for the search:

http://www.google.com/custom?domains=MQSeries.net&q={expression}&sitesearch=MQSeries.net

The {expression} replaces the search terms that you use in your search. The original URL looked something like this:

http://www.google.com/custom?domains=MQSeries.net&q=esql+error&sitesearch=MQSeries.net&sa=Search&client=pub-4459420363100112&forid=1&channel=9781888756&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%230066CC%3BGL%3A1%3BDIV%3A%23063E3F%3BVLC%3A003366%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A215670%3BALC%3A063E3F%3BLC%3A063E3F%3BT%3A000000%3BGFNT%3A3D81EE%3BGIMP%3A3D81EE%3BFORID%3A1&hl=en

 When you have entered the URL template, click Apply. You will not see the name of the search change until you exit and reopen the Search Scope window. The result looks something like the image below:

Settings for adding MQSeries.net as a search location

It can be useful to add an on-line information center to your search in the Help view. One of the reasons for doing this, is that the search on the on-line information center can be better than the local information center. To add an on-line information center to your search scope follow the same process:

Expand the Search Scope section, and click on Advanced Settings to display the Search Scope window. Click New… to open the New Search Engine window, and select Info Center from the list of available options. Click Finish. In the Info Center section add a Name and Description for the information center, and then add the URL of the information center. For WebSphere Message Broker v6.1 for example, this is the information center URL:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/

As shown in the image below, you can select to search all of the topics in the information center or just some of them. In this example, just the main Message Broker information center is selected. The different topics that you can search are displayed automatically when you click Search only the following topics.

Adding an online information to the Help view search

You might also want to add information centers for other products to your search view. For example you might want to add the WebSphere MQ information center. The URL for the WMQ information center is:

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s