Question
Check for PDF document
Hi,
My requirement is to health check an application to see if a PDF is generated or not on a button click.
The Adobe reader is not present on the server so the document is displayed as attached screenshot.
Even if Adobe reader is installed , I am unable to interrogate it to know if indeed its a PDF document.Is there any alternative how to verify that PDF is generated on button click.Also, there is no way I can save it to disk to open and check with PDF connector.
Please suggest a solution.
You can verify if the PDF is created or not using FileUtils -> FileExist.
http://help.openspan.com/80/Components/FileUtils_Component_Methods.htm