Is it possible to generate a URL and saves it as a PDF?
Something like: http://localhost/lsEntryName=Report+Name&dmiAction...
I'm trying to create a batch file launched on alert which sends the alert email with a DMI PDF attachment, I have the former but am struggling to generate a PDF report on demand
Any insight would be greatly appreciated,
Solved! Go to Solution.
I don't believe so because the REST interface is generally for building queries. What Carl needs is to be able to access the generatePDF() method on demand from an external API call. Maybe there's a way to hack the CAS to make it work or, more simply, a way to make it understand the format=pdf?
Actually there is a way to do that 🙂 Here is an example:
How to construct it:
1. Load a report from menu or dashboard - You will have something like
2. Change LSServlet => LSSaveAs
4. Generate UID (with /DiagConsole#/diag/UID+GENERATE ) and append to URL