How can I create a HTML file from Automation Engine?
Automation Engine does not have a ticket that can directly create a HTML file. However, it can be done using the Create XML ticket along with the Copy or Move ticket, both are in the Automation Engine 12.2 base.
Since both HTML and XML files are simply text files and both are part of the SGML standard, we can create a HTML file with the create XML ticket and simply change the file extension using the Copy or Move ticket.
The Copy or Move ticket has the ability to not take over the extension of the file (normal behavior). This allows us to make a normal XML file a HTML.
The resulting HTML document along with other needed files can then be moved to a server that is running a webserver. The HTML file can be named appropriately using the Copy or Move ticket. A JPEG image could also be created from the launched PDF by using the Create PAF/JPG/XML (LinkEdge) ticket.
Attached is a sample workflow that creates a HTML file that saves that along with a low resolution JPEGand a copy of the high resolution PDFthat is linked within the HTML document. The HTML uses a copy of the JQuery library loaded from a CDN on the Google® network.
Sending a Normalized PDFwill create a small thumbnail of the PDF, copy the PDFand create a HTML page based on a HTML template populated by your own SmartNames. Simply edit the Create HTML ticket and replace the included SmartNames with your own. Tables can be extended by coping and pasting and editing new table rows in the HTML.
The destination can be edited to go to an available website that is also a container. It could be set up in such as way that the URL is then Emailed to a customer/ csr so they could look up the values and thumbnail (or high res) with a simple web browser.
Example of the HTML content.
<td>Title of Parameter</td>
<td>[Your Smart Name]</td>