Chart is cut off when printing the dashboard to PDF using Analytics Action Pack
search cancel

Chart is cut off when printing the dashboard to PDF using Analytics Action Pack

book

Article ID: 200595

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The Analytics Action Pack provided in the marketplace cuts off the list of executions. The document or image printed looks more like a screenshot than a list of executions.

Steps to reproduce:

  • Create Dashboard.
  • Add Widget -> Analytics -> Tablet Chart
  • Share Dashboard
  • Run PCK.AUTOMIC_ANALYTICS.PUB.ACTION.CAPTURE_DASHBOARD
  • Overwrite agent and log-in prompt. Select created dashboard.
  • Check Automic\Automation.Platform\Agents\windows\Resources\0100\analytics
  • The image is a screenshot of the dashboard.
  • Runs are not shown because you have to scroll down not on the capture.

Environment

Release : 12.3

Component : ACTIONS PACK

Resolution

The main idea behind this action pack is that it sends screenshots from dashboards that contain charts, and not real PDF exports or images. That's why it doesn't provide useful results for the table.

These are some other ways how to get similar information: One way is to generate the same export through Process Monitor, then export as xls file.

Another possibility is to use the GET executions from the REST API and get a JSON export, for further automatic processing.

While there is no pre-built query, the REST API documentation is a great resource.

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/REST%20API/Automation.Engine/index.html?overrideUrls=../Automation.Engine/swagger.json,../Continuous.Delivery.Automation/swagger.json,../Analytics/swagger.json,../Infrastructure.Manager/swagger.json