I have an agent that uses html to create tables containing dynamic data.
I have one section called Timeline where I have a word document for a timeline that I generate to a PDF file.
Is it possible to display the PDF file in the agent without having to link and open the PDF? Should I save the timeline as a graphic or html page?
Any ideas or suggestions would be greatly appreciated. Thanks in advance.
Subject: Display PDF file on web
Can you simulate what you want to occur automatically by typing a command at the command line?
IOW, C:\Progra~1\Adobe\Acroba~1\Reader~1\AcroRd32 MyAcrobatFile.pdf
If so, why don’t you use the Shell function (assuming your agent is written in LotusScript) to pass it the path to AcrobatReader with the name of the PDF as an argument?
Subject: Display PDF file on web
Lisa,
Sure, you can stream the PDF straight to the browser at the end of the agent code with the LotusScript Print statement or the Java PrintWriter println() statement, you just need a valid URL to access it. One way is to store the PDF in a Notes doc and then reference it via a Domino DB URL containing /$FILE/filename.pdf?OpenElement
Ken