NextGen Knowledge Center

Document Writer

This destination connector takes an HTML template and converts it into either a PDF or RTF document. Custom embedded stylesheets are supported. That document can then be written out to a file and/or stored as a message attachment. The page size can be specified, and for PDFs you can also encrypt the document with a password.

Supported property groups:

ItemNameDefault ValueDescription
AOutputFileChoose how to output the document.
  • File: Write the contents to a file.
  • Attachment: Write the contents to an attachment. The destination's response message will contain the attachment Id and can be used in subsequent connectors to include the attachment.
  • Both: Write the contents to both a file and an attachment.
BDirectory The directory (folder) where the generated file should be written. Use the Test Write button to confirm that files can be written to the folder.
CFile Name The file name to give to the generated file.
DDocument TypePDFThe type of document to be created for each message.
EEncryptedNoIf the document type is PDF, generated documents can optionally be encrypted.
FPassword If encryption is enabled, enter the password that must be used to view the document after encryption.
GPage Size8.5" x 11" (Letter)The width and height of the document pages. The units for each are determined by the drop-down menu to the right. When rendering PDFs, a minimum of 26mm is enforced. Use the far-right drop-down menu to quickly select a page size among common US and UK formats.
HHTML Template This template is expected to be an HTML document, determining how to layout the PDF/RTF document. Custom embedded stylesheets are supported.