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):
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:
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
Visit card labels language
VCF format is supported since the version 2023.6.0. Some information, such as address, phone or email are preceded by the type, called “label”, such as “Home” to indicate that the information that follows is personal. It is possible to change the language of these labels. For now, two languages are available: English and French.
The default property in the TaskConversion service looks like this:
# Configure the information fields language. Possible values are : "FR", "EN".
vcard.label.language=EN