PDF Templates (WIP)
Last updated
Last updated
This will open the Template Editor on the right of the screen in place of the UI Editor.
You will be prompted with a screen where you can name the template and choose the format.
Image variables allow you to programmatically add images (for example from a photo widget or a signature) to the template.
Once you create a template, a new instance is created as well in the Function panel, under
Template > PDF Templates > [Template Name]
. This instance contais the Fill Template
function.
After adding at least one page to the template, you can drag a file from the Media Server onto it.
The output of the fillTemplate
function is a Base64 encoded document.
It can be dragged onto a Media View widget to display the most up to date version, or it can be sent in an e-mail.
You can include multiple different forms, signatures, photos and other documents in a PDF template. One way to mix different types of input is to load all the data into a table in the Internal PostgreSQL database.