Snippets
Insert placeholders for asset data and supported custom fields. Empty fields produce empty values in the generated document.
While preparing the file, you can (and should) use special placeholders called snippets. When generating the document, these placeholders will be automatically replaced with values from the selected Asset.
Available asset snippets:
| Placeholder | Location/used in | Description |
|---|---|---|
| {{Name}} | Asset Details | Asset name. |
| {{Description}} | Asset Details | Asset description. |
| {{PrintDate}} | Document generation | Date when the document was generated. |
| {{PrintDateTime}} | Document generation | Date and time when the document was generated. |
| {{Customers}} | Asset Details | Assigned customers. |
| {{Agents}} | Asset Details | Assigned agents. |
| {{Company}} | Asset Details | Company related to the asset. |
| {{Age}} | Asset Details | Asset age (in hours or days). |
| {{AssetCreationDate}} | Asset Details | The exact date when the asset was created. |
| {{Categories}} | Asset Details | Asset categories. |
You can also use snippets for Custom Fields assigned to Asset categories. The schema for such snippets is:
{{CategoryName:AttributeName}}
For example, for custom field named: Text in Category: Desktop the snippet should be written as: {{Desktop:Text}}
Supported Custom Field types:
- Text
- Integer
- Realnumber
- Date
- Datescope
- Numscope
- Textarea
- Alertdate
- Radio
- Checkbox
- Hypertext
- Dictionary
If a custom field contains no value, the corresponding snippet will be empty in the generated document.