Legacy Template Syntax

This section provides a guide to legacy template syntax for document generation.

Legacy Template Syntax for Document Generation

Overview

UKG HR Service Delivery previously supported a legacy syntax for document generation templates. While new implementations should use the current placeholder and template system, some customers may still rely on older templates that use legacy merge fields.

Characteristics of legacy syntax

  • Placeholders often used different delimiters compared to the modern {{field_name}} format.
  • Limited support for complex data types such as datasets or custom fields.
  • Reduced multilingual and formatting capabilities.

Migration notes

  • Legacy templates are still supported but may not benefit from enhancements in DocGen.
  • Customers are encouraged to migrate to the new template syntax for consistency and access to advanced features.
  • UKG provides migration support to assist in converting legacy placeholders to the modern format.

Example of legacy placeholder

[[FIRSTNAME]] [[LASTNAME]]

Would now be expressed in the modern format as:

{{firstname}} {{lastname}}