Would it be possible, if I have an app, to add a button that would trigger in the background one of my dashboards to be dispatched as a PDF?
Hi Ben,
With dispatch, do you mean that a mail is sent with the PDF? If that is the case, you could simply create an Automation script with an email action. There you can configure that a PDF of a dashboard should be included.
In the Low-Code App, you can then add the button and add a 'Launch a script' action. I would maybe suggest unchecking 'Wait for the script to finish before continuing'. This will prevent the app from waiting on the generation to complete which may take some time. (Took 40s from click to receiving the mail when I tried it)
When you then preview the app and click the button, the script will be launched in the background, and the PDF will be generated. This results in the following mail:
Great answer. I would suggest passing the username to the script so DataMiner can figure out the user email address and know where to send the email with the pdf report.