Dynamic links to an external website (a Google Maps example)

In this recipe, we will introduce you to the Hyperlink component.

Let's say that a report shows retailer information by products. It shows various fields like Retailer name, Contact information, City, and Postal zone. Business wants to have a link to Google Maps that will show a retailer's place on the map using the Postal zone information.

As the addresses might change in the backend, the technique needs to be dynamic to pick up the latest postal zone.

Getting ready

Create a simple list report that shows retailer information by Product lines as shown in the following screenshot:

Getting ready

How to do ...

Get IBM Cognos 10 Report Studio Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.