Reporting

Web framework apps and PDF reports

helge
Builder

I know that I cannot generate PDFs of HTML aka web framework dashboards (documented here). That is really unfortunate because customers want that functionality.

If I am not mistaken the only option I have is to rebuild those dashboards I need as PDF reports in Simple XML (as far as that is possible) and then use the Simple XML for reports. That of course means that part of the work needs to be done twice.

Is my assumption correct? What is the best practice regarding HTML dashboards and PDF reports?

0 Karma
1 Solution

mgroves_splunk
Splunk Employee
Splunk Employee

Your assumptions are correct, there is not a direct way to produce PDF reports from within the HTML pages of the Web Framework.

Depending on your requirements, you can mix SimpleXML Pages with HTML Pages within your applications. These SimpleXML pages will still support PDF reports. My suggestion would be to build the pages required for PDF using SimpleXML.

View solution in original post

mgroves_splunk
Splunk Employee
Splunk Employee

Your assumptions are correct, there is not a direct way to produce PDF reports from within the HTML pages of the Web Framework.

Depending on your requirements, you can mix SimpleXML Pages with HTML Pages within your applications. These SimpleXML pages will still support PDF reports. My suggestion would be to build the pages required for PDF using SimpleXML.

View solution in original post

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.