Design a PDF template
Before you start
A PDF template is a document you write inside Beezr, like a page in a word processor. Fields from a module go in as chips, a table repeats for each line, and the workflow turns the result into a PDF attached to the record. Use it when the document is final and you want to design it inside Beezr.
Design the PDF
Section titled “Design the PDF”- In the left rail, click Document generation, then New template.
- Choose PDF, type the Name, for example
Purchase order, and choose the Module. Click Continue. - In the Design view, type like a normal document. Beezr starts you with a title and the module’s first fields.
- In the Fields tab on the right, click a field to add it where your cursor is.
- Click Save.
The toolbar’s text style menu offers Normal text, Title, Heading and Subheading. A key under the sheet explains the colours: fields From the record, rows that Repeat for each line, and Custom, set in the workflow step.
Add a table that repeats
Section titled “Add a table that repeats”When the module has line items, the toolbar shows an Add button for them, such as Add lines table. The Fields tab has the same, under the line items’ name. The table has one highlighted row that repeats for each line. Click a line field in the Fields tab while your cursor is in that row to add a column or a value.
How do I check the result?
Section titled “How do I check the result?”Click Preview. Beezr renders the PDF with the same engine a workflow uses. Fields show their labels, and a repeating table shows 3 sample rows, so you can check spacing and page breaks before any record exists. Errors appear in place of the PDF.
At the bottom of the page, Placeholders in this template lists every placeholder. Chips that belong to the module look normal. Custom ones are values you set in the workflow step.
When do I need the Code view?
Section titled “When do I need the Code view?”Use Code for anything beyond fields and one repeating table, such as a condition. The syntax panel there shows:
${customer_name}prints a value. An empty value prints nothing.<#list lines as row>…</#list>repeats for each record. Read a field with${row.propertyValueMap.qty}.
A template with logic like <#if> opens in Code. Preview shows the result.
Use it in a workflow
Section titled “Use it in a workflow”Add a Smart document step on the same module, choose the template and fill in each placeholder. Write some content on the page before you save. Smart document covers the step.
What did I get?
Section titled “What did I get?”A PDF template tied to a module, designed in Beezr. A workflow fills it from a record and attaches the PDF to that record.
Check yourself
What's next
Last checked