Add an HTML item with a <meta> element to set the auto-refresh
interval of a report.
About this task
If you are using a Cognos report as a dashboard, you must use the auto-refresh capability to
enable the report to automatically load the data at specific intervals.
Procedure
- Open a report in edit mode.
-
Click the Insertable objects icon , then click the Toolbox icon .
- Navigate to the Advanced section, then drag HTML
item to the top of the report.
-
Click the Properties icon , and in the
Properties pane, double-click the HTML property.
- In the HTML window, type the following text to add a
meta element and specify the http-equiv="refresh"
attribute:
<meta http-equiv="refresh"
content="time_in_seconds">
For the content attribute, specify the refresh interval in seconds.
The following example refreshes the report every 5 seconds.
<meta http-equiv="refresh" content="5">
- For all queries in the report, set the Use Local Cache property to
No.