Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
titleAvailable from version 8.0

You can add a button to the Dashboard that will download the dashboard data into a file. The button and what it does when clicked is defined by a calculation logic.

To render the button in the Dashboard portlet, use the DashboardController method addDownloadButton in the calculation logic. You can add URL parameters determining the output format and the name of the file.

...

Often, you will need to use a variable in the fileName URL parameter to make the file name generation dynamic:

...