Ironside Group
  • Home
  • About
  • AWS Ascent Solutions
  • IBM Cognos Analytics Services
  • Resources
  • Careers
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Request a Meeting
Data Management, Technology Spotlight

Integrating an Enterprise Wiki with IBM Cognos 8

April 1, 2010/by Ironside Group

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.

Background

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

Steps

  1. In IBM Cognos Connection, click Launch, IBM 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:

http://server_name:port_number/bg/popup/popupSearch.do

For example, type

http://myserver:9080/bg/popup/popupSearch.do

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.

http://myserver:9080/bg/popup/popupSearch.do?searchBy=Terms&searchText=Inventory

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.

Solution

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:

http://www.google.com/search?q=searchTerms

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

Before:

http://myserver:9080/bg/popup/popupSearch.do?searchBy=Terms&searchText=Inventory

After:

http://www.google.com/search?q=Inventory

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 = "http://www.google.com/search?q=" + searchText;
 response.sendRedirect(redirectURL);
 %>

  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:

    http://myCognosServer:myCognosPort/p2pd/glossary.jsp

    For example:

    http://localhost:9300/p2pd/glossary.jsp

  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

<?php
 $BG_SEARCH_TYPE = $_GET['searchBy'];
 $BG_SEARCH_TEXT = $_GET['searchText'];
 $REDIRECT_URL = "http://www.google.com/search?q=" . $BG_SEARCH_TEXT;
 //Redirect to the wiki
 header( 'Location: ' . $REDIRECT_URL );
 die();
 ?>

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 ^$ http://www.google.com/search?q=%1

Business Glossary URI: http://myApacheWebServer/

Tags: BICC, Business Glossary, Data Dictionary, Data Governance, Definitions, Documentation, Enterprise Wiki, IBM Cognos 8, Metadata, Wiki
https://www.ironsidegroup.com/wp-content/uploads/2018/03/logo-with-words.png 0 0 Ironside Group https://www.ironsidegroup.com/wp-content/uploads/2018/03/logo-with-words.png Ironside Group2010-04-01 10:00:242019-01-22 14:02:51Integrating an Enterprise Wiki with IBM Cognos 8

See 3 reasons why AWS analytics are well within your reach.

Recent Posts

  • Transforming Enterprise Productivity with Advanced AI Assistance from Amazon Q
  • Transforming Mystery Shopping with AI: How HS Brands is Revolutionizing Customer Experience Measurement
  • Navigating the Amazon Q Ecosystem: Amazon Q Business vs. Amazon Q in QuickSight
  • Rapid Insights with Amazon Q in QuickSight
  • AWS Summit New York 2024: Transforming Cloud Innovation and AI Solutions

Categories

  • artificial intelligence
  • Awards & Recognition
  • Business Analytics
  • Data Management
  • Data Science
  • Featured
  • Generative AI
  • Technology Spotlight
  • Uncategorized

Newsletter

Ironside is a data, analytics, and AI consulting and technology implementation company. We work with clients to understand their business objectives and day-to-day challenges, then employ our deep expertise in data strategy, architecture and engineering, integration, business intelligence, AI, and generative AI. We create technical solutions and practical approaches designed to drive smarter, data-driven decisions across a company and help it move further and faster toward its business goals.

LINKS

  • Home
  • About
  • AWS Ascent Solutions
  • IBM Cognos Analytics Services
  • Resources
  • Careers
  • Contact

GET IN TOUCH

781-860-8840

For inquiries: GetInsights@IronsideGroup.com

For HR: AMacMaster@ironsidegroup.com

Office Address
131 Hartwell Ave
Lexington, MA 02421

Corporate Mailing Address
Ironside Group, LLC
6 Liberty Sq
Suite 91143
Boston, MA 02109

Regional offices in Atlanta, Austin, Boston, Charlotte, New York City and Orlando

>>Managed Services Support

  • linkedin
  • x
  • youtube
  • mail
Also of Interest
  • Data Management Archives - Page 8 of 8
  • Demystifying IBM Cognos 8 Security
  • The IBM Cognos SDK: Bridging the Gaps
© 1999-2024 Ironside Group. All Rights Reserved.
Link to: How to Increase User Adoption with IBM Cognos 8 Auditing Link to: How to Increase User Adoption with IBM Cognos 8 Auditing How to Increase User Adoption with IBM Cognos 8 Auditing Link to: What can Business Intelligence do for you? Link to: What can Business Intelligence do for you? What can Business Intelligence do for you?
Scroll to top Scroll to top Scroll to top
Send this to a friend