Skip to content
Mint Service Desk Documentation centre

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:

PlaceholderLocation/used inDescription
{{Name}}Asset DetailsAsset name.
{{Description}}Asset DetailsAsset description.
{{PrintDate}}Document generationDate when the document was generated.
{{PrintDateTime}}Document generationDate and time when the document was generated.
{{Customers}}Asset DetailsAssigned customers.
{{Agents}}Asset DetailsAssigned agents.
{{Company}}Asset DetailsCompany related to the asset.
{{Age}}Asset DetailsAsset age (in hours or days).
{{AssetCreationDate}}Asset DetailsThe exact date when the asset was created.
{{Categories}}Asset DetailsAsset 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.