Task conversion

Rendition without internet Access and mails with external images

If the Rendition is installed on a server that does not have access to Internet and if mails with external images needs to be viewed, please apply the below configuration:

  • Add a proxy for WKHTMLTOPDF configuration. Create a file named application.properties in the TaskConversion module containing the below property (adapt the proxy host if needed) (compatible with version 4.3.8 and higher):
application.properties located in ARender-Rendition-2023.X.Y\modules\TaskConversion
tools.wkhtmltopdf.options=--disable-javascript,--quiet,--encoding,UTF-8,--load-error-handling,ignore,--disable-external-links,--disable-internal-links,--disable-local-file-access,--proxy,localhost

Internal and external links, local file access and iframe URL are disabled by default for HTML to PDF conversion. The purpose of that is to prevent security issue.

Note this can impact the render of the HTML in ARender:

  • Clickable links will be disabled
  • Image display from internal/external link or local file will not be rendered
  • Iframe URL will not be rendered

The default properties in the TaskConversion service looks like this:

application.properties located in ARender-Rendition-2023.X.Y\modules\TaskConversion
tools.wkhtmltopdf.options=--disable-javascript,--quiet,--encoding,UTF-8,--load-error-handling,ignore,--disable-external-links,--disable-internal-links,--disable-local-file-access
# Disable iframe URL as a safety measure
tools.wkhtmltopdf.iframe.disabled=true