Templates, defaults and the field reference
You will be able to: Choose the default template for each document type; Create a template and understand the Doc Type rule; Read the field reference for bindings.
- Read not done yet
- Self-check: not taken not done yet
- Lesson complete not done yet
The Designers change layouts. Settings ▸ Templates decides which template is used. Its heading reads Template Assignment. It lists every template, lets you pick the default for each type, and holds the label printing settings.
A document type can have several templates but only one is the default. The default is what Print uses, and what Zeyto uses for the PDF it e-mails or sends by WhatsApp.
Choosing the default
- Open Settings ▸ Templates and stay on the Documents tab.
- Find the row for the document type in the Doc Type column. There can be several rows for one type.
- Press Set Default on the template you want. The previous default stops being the default.
- The next print, e-mail PDF or WhatsApp PDF uses it.
Press Edit on a row to open the template in the Document Designer (or the Label Designer for labels). This screen only chooses which template is used.
Starting a new template
- In Designers ▸ Documents press + New Template.
- On the Page tab type the Name and choose the Doc Type. The Doc Type cannot be changed after the first save. Choose the Paper.
- Build the page from the Insert and Fields tabs, then Save and Set as Default.
Names must be unique per document kind. A new blank template starts as A4 with a header, a line table, a summary and a footer.
Document Type Registry and the field reference
On the Documents tab the Document Type Registry lists every document and voucher type Zeyto knows. Click one to see its Field Reference: every Binding Path a template can print, with its Label and Format, for example doc.date. The registry also shows how many templates the type has, whether one is default, and flags such as Voucher, Lines, VAT and Tax Invoice. Fields shows how many header and line fields a template can print, such as 12H / 9L.
| Registry column | Meaning |
|---|---|
| Templates | How many templates the type has, with default or no default |
| Flags | Voucher, Lines (has item lines), VAT and Tax Invoice |
| Fields | Header and line fields a template can print |
| Permissions | The permission keys for viewing and submitting the document |
- Set Default and the label settings need the designer module of your licence. Without it an upgrade sheet opens.
- A template that ships with Zeyto cannot be changed in place. Saving makes your own copy.
- The tiles show Document Templates, Label Templates, Doc / Voucher Types, Assigned Defaults and Latest Version.
- Each save raises the template's version by one.
Try it in the demo
- Open Settings ▸ Templates in the demo and read the Documents tab list.
- Find a document type in Document Type Registry and click it to read its Field Reference.
- Look for the Set Default and Edit buttons without changing the demo's defaults.
Public demo company, sign in as admin / demoAdmin123. Data refreshes nightly.
- Settings ▸ Templates chooses defaults; the designers edit layouts.
- One default per document type; without one, e-mailed PDFs fall back to plain text.
- Doc Type is fixed after the first save.
- The Field Reference lists every binding path a template can print.
Check yourself
3 questions on this lesson. Not timed, not the exam, and you can try again. Score 60% or more, and read the lesson, to complete it.