This topic is locked

PDF view

2/4/2010 7:09:08 AM
PHPRunner General questions
J
jackaroo author

I have a printer-friendly report, with PDF view enabled. Everything is working beautifully. I would like the 'PDF View' link that appears near the top of the report to be activated automatically when the report page loads.
What modification do I need make for this to happen?
Thanks,

Jack

J
Jane 2/4/2010

Jack,
switch to HTML modeon the Visual**Editor**tab, find this code:

<body style="background-color:white">



and replace it with this one:

<body style="background-color:white" onload="RunPDF();">
J
jackaroo author 2/4/2010

Great! Now, how can I take the next step by similarly automating the 'PDF file created. Download the file using this link' step that appears on the report page once the pdf file has been created.
Thanks again

J
Jane 2/5/2010

Hi,
you can write custom JavaScript code to check when PDF file is created and emulate onclick action for this link.

Unfortunately we don't have a ready to go solution for this.