Chapter 3. Tips and Tricks: JavaScripts
In this chapter, we will cover the following:
- Dynamic default values for prompt
- Change title of value of a prompt
- Applying deselect all on re-runs
- Textbox validation
- Showing/Hiding controls dynamically
- Auto-submitting values
- Manipulating the date time control
- Variable width bar charts using JavaScript
Introduction
Report Studio is a web-based tool and the reports designed in Cognos Report Studio are accessed through a web browser. This allows us to do certain web page specific things; for example, embedding our own HTML code or JavaScripts.
Often, business users need certain functionality which is not naturally available in Cognos Report Studio. Hence, a new area has evolved over the period in the Cognos Report Studio ...
Get IBM Cognos 8 Report Studio Cookbook 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.