Variables in document templates

From Planfix
Revision as of 13:29, 21 July 2022 by Aliona (talk | contribs)
Jump to: navigation, search

Variables are can play a large role in document templates. When creating a document using a template, any variables used are replaced with the values stored in the object they are linked to. This makes document templates a convenient way to create documents and populate them with data from a specific contact, task, or data tag.

There are certain variables available for document templates, in addition to the variables used in task templates. A complete list of variables available can be found in the section Documents / Document templates:

N7GRPH.png

On the left-hand side of the window that opens when you click this link, you can see a list of available objects:

o2b5tP.png

After choosing an object, you'll be able to view the associated variable on the right-hand side of the window. These variables can be copied and then pasted in your document template:

kgPLy7.png

Some variables can be formatted. If that's the case, you'll see information about how to format the variable below the variable name:

Y39sCG.png

!<-- Представление числа так же можно форматировать, информацию о вариантах форматирования можно прочитать под названием переменной: -->