Enabling a report to automatically refresh

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

  1. Open a report in edit mode.
  2. Click the Insertable objects icon Insertable objects, then click the Toolbox icon Toolbox.
  3. Navigate to the Advanced section, then drag HTML item to the top of the report.
  4. Click the Properties icon Properties icon, and in the Properties pane, double-click the HTML property.
  5. 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">

  6. For all queries in the report, set the Use Local Cache property to No.