Exporting custom dashboards
With the REST API, you can export custom dashboards as HTML and PDF formats.
As a prerequisite, ensure you have the API key required for user authentication on Swagger. See Authentication for REST APIs. for steps to generate the API key.
To export custom dashboards
- In the IT Analytics portal, generate a custom dashboard and save it.
See Save Reports.
- Run the saved dashboard.
- Press Ctrl + Alt + T to view the Report Statistics and find the Dashboard ID.
- Access swagger (<portal_url>/api/swagger-ui.html).
- Select option v1 from Select a spec.
- Click Authorize and enter the API key generated from the IT Analytics portal.
The API key is passed in the authorization header of the REST API.
- Expand Report section.
- Expand /v1/dashboards/{dashboardId}/export and click try it out.
- Enter dashboard Id and click Execute.
Note:
If the exported report or dashboard contains a generic placeholder chart image, the chart export feature on your system has been disabled. See the Remove "PhantomJS" from IT Analytics Portal tech note for further details.