Beginning with IBM Cognos 8.4 and higher, IBM provides a means of linking package objects from within Cognos Viewer or any of the studios, to IBM Business Glossary to serve as a central, web-based repository for documentation. If you do not own Business Glossary but you do have an existing enterprise wiki that houses your own organizations business documentation, with a little bit of ingenuity we can integrate that resource using the same inline facilities.


Before we can tackle our own Wiki, we need to have a better understanding of how IBM Business Glossary was designed to integrate with IBM Cognos 8. To begin, open any package in query studio, and right click on any object from within the metadata and a context menu will appear. Within that context menu you should see that the Glossary link which should be disabled.

Now let’s enable the business glossary by configuring the business glossary URI following the steps outlined in the IBM Cognos 8.4 Security and Administration Guide


  1. In IBM Cognos Connection, click LaunchIBM Cognos Administration.
  2. On the Status tab, click System.
  3. Click the arrow next to System to display the Actions menu, and then click Set Properties.
  4. Click the Settings tab.
  5. For the Environment category, IBM Business Glossary URI, type the following URI:


For example, type


All terms that contain the keyword specified in the search are returned.

  1. Click OK.

If we simply enter the example string above, and then return to query studio (make sure you give the server a few minutes to pick up the configuration change) we should now see that the business glossary link is enabled.

If we click on it we should expectedly get an error, but by right clicking and viewing the properties of this error window, we can learn quite a bit about how the Business Glossary link works.

The value of the Address (URL) property of the window tells us exactly what the URL was that Cognos attempted to retrieve when we clicked on our Glossary link from within Query Studio.


From this we can assume that IBM Cognos 8 will simply append the query string (bold) to whatever Business Glossary URI we configure in our System Properties. It is also important to note that IBM Cognos uses the name of whichever item you have right clicked within Query Studio to assign the value of the searchText parameter within the http query string. If we want to search our own Wiki or web based resource, all we need to do is translate this search query into something that can be understood by that resource.


In our example we will be using Google as our enterprise business glossary. When integrating your own wiki, you must first determine the correct URL and Query String for searching that resource. Google accepts search queries by URL in the following format:

This means we will have to dynamically rewrite our original search query to match this format.




In our example we will achieve this with some simple JSP because it can be easily run within the Tomcat container that is included with IBM Cognos 8 by default, but the same result can be achieved with virtually any server side application language of your choosing (PHP, ASP, Perl/CGI, Apache w/mod_rewrite etc.)

  1. Create a new text file called glossary.jsp that contains the following JSP code:
 String searchType = request.getParameter( "searchBy" );
 String searchText = request.getParameter( "searchText" );
 String redirectURL = "" + searchText;
  1. Move this file to your IBM Cognos server and place it in the
    <IBM Cognos 8 Install Root> webappsp2pd folder.
  2. Following the steps previously outlined, reconfigure your IBM Business Glossary URI to be the following:


    For example:


  3. After allowing a minute for the server to pick up the change, return to Query Studio and once again attempt to click on the Glossary context menu item. You should now be presented with Google search results for the name of the item you have selected.

Additional Examples

Using PHP

File: glossary.php

 $BG_SEARCH_TYPE = $_GET['searchBy'];
 $BG_SEARCH_TEXT = $_GET['searchText'];
 //Redirect to the wiki
 header( 'Location: ' . $REDIRECT_URL );

Business Glossary URI: http://myPHPServer/glossary.php

Using Apache with mod_rewrite

File: .htaccess (placed in apache www root for this example)

RewriteEngine on
RewriteCond %{QUERY_STRING} ^searchBy=Terms&searchText=(.*)$
RewriteRule ^$ [L]

Business Glossary URI: http://myApacheWebServer/