Server administration
Match Document Extension
The purpose of the documents extension is to generate a document, either in word, pdf or plain text based on the results of your consultation. This extension is triggered during the consultation and the user can download the file once it is generated.
Extension configuration
The extension must be configured with some parameters in each kba.
property name | value |
---|---|
HtmlWidth | width in pixel. Use 595 for A4. |
MarginBottom | bottom inset in typographical points. E.g. 25. |
MarginLeft | left inset in typographical points. E.g. 25. |
MarginRight | right inset in typographical points. E.g. 25. |
MarginTop | top inset in typographical points. E.g. 25. |
Template Upload
The documents are created based on templates that have to be uploaded to the server.
To upload a template go in the Document template section (KBA MANAGER role is required)
Specify a name and a type for the template.
The name will be used in conjunction with the TEMPLATE keyword in the KB. The type is used to determine the type of document.
- HTML_REPLACE_TO_DOC to produce a doc
- HTML_REPLACE_TO_PDF to produce a pdf
- PLAIN_TEXT_REPLACE to produce a txt
- PLAIN_DOC_OR_PDF: for static pdf and pdf
- STATIC: for generic static files
Select a file to upload.
See Document keyword for more information.