Automatically Refresh Report Data on a TimerLast Updated: 08/12/2016 Introduced in Verision: 2.0 |
The data displayed in a Report Viewer or chart can be configured to refresh at a set interval. It will refresh even when a user is viewing the report.
To make reports refresh on a timer, in the Page Designer, in the Properties Panel, select the Auto Refresh checkbox and set the Refresh Time in the fields that display.
Example
The goal of this example is to:
- Create a portal page and add a Report Viewer and a Chart Viewer.
- Set both the viewers to refresh every ten seconds.
To begin, navigate to a Designer Folder and click the Create Page/Dashboard button.
Give the page a name and click Ok to open it in the Page Designer.
Now, add an existing report to the workspace. Be sure the report has already been formatted as a chart.
In the Toolbox Panel, expand the category Reports > [Existing Reports] > [Current Folder] > Report: Folder Report > Charts: Count(nesting_level), and drag Bars component to the workspace.
In the Properties Panel, in the Control Settings section, click the Auto Refresh checkbox and set the Refresh Time to 10 seconds.
Next, add another existing report to the page.
In the Toolbox Panel, expand the category Reports > [Existing Reports] > [Current Folder] > Report: Folder Report, and drag a Data View component to the workspace.
In the Properties Panel, in the Control Settings section, click the Auto Refresh checkbox and set the Refresh Time to 10 seconds.
The page is complete. Save the page and close the Page Designer.
To view the page and see the data auto refresh, click the page’s thumbnail and select View > Preview Page from its Action menu.
The page opens and the report data refreshes every 10 seconds.