O'Reilly logo

IBM Cognos 10 Report Studio Cookbook - Second Edition by Abhishek Sanghani, Ahmed Lashin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamically switching between reports using an iFrame

In this recipe, we will have a look at how to use one report as a container to call or display different reports. We will use an HTML element called iFrame that allows the browser window to be split into segments. Each segment can be updated separately.

We will give users the ability to choose which report contents to display and allow them to toggle between two reports by clicking on the appropriate button. You can build upon this idea to create many practical solutions such as displaying help, toggling graphs, and providing tabs to display different reports.

Getting ready

Create a simple list report with product-related columns (the product query subject) and save it as iFrame–Products.

Create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required