OS4X Enterprise text template

From OS4X
Revision as of 11:43, 8 May 2020 by Admin (talk | contribs) (Created page with "Category:OS4X Enterprise Many OS4X Enterprise solutions (plugins like os4xplugin_transmission_pdf, OS4X plugin os4xplugin_ema...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Many OS4X Enterprise solutions (plugins like os4xplugin_transmission_pdf, email files, approve) use templates to dynamically generate text, often used as email. These templates contain variables, which are dynamically replaced. Variables are introduced by a "$" character. This way, XPath expressions are possible on the actual job state in plugins.

Common variables via XPath

Special variables

  • $JOBFILES_HTML: Generate a HTML list of all files contained in the job (with "ul" and "li" HTML tags)
  • $JOBFILES_TEXT: Generate a textual list of all files contained in the job (with "- " as a prefix before the filename)