PLEASE NOTE: The preferred syntax for placeholders was changed in version 6.0.7. If you are using an earlier version of Humanforce, scroll down to the section below titled Legacy Placeholder Syntax. If you are using version 6.0.7 or later, the original syntax is still supported but will be deprecated at some point in the future. Please migrate your existing document templates to use the new format as soon as possible.
Updated Placeholder Syntax (version 6.0.7 +)
The following table shows the variable data that can be added into an rtf document, and the tag name/syntax to use for each. If any of your tags are not working, please check out How do I troubleshoot rtf tags?
Personal Details |
|
First Name | {{Employee.NameFirst}} |
Last Name | {{Employee.NameFamily}} |
Title | {{Employee.EmployeeTitle.Name}} |
Birth Date | {{Employee.DOBString}} |
Gender | {{Employee.SexString}} |
Address 1 | {{Employee.Street1}} |
Suburb | {{Employee.Suburb}} |
State | {{Employee.State}} |
Post Code | {{Employee.Postcode}} |
Phone | {{Employee.Phone}} |
Mobile | {{Employee.Mobile}} |
{{Employee.Email}} | |
Email 2 | {{Employee.SecondaryEmail}} |
Country | {{Employee.Country}} |
Nationality | {{Employee.Nationality.Name}} |
Postal Address 1 | {{Employee.PostalStreet1}} |
Postal Suburb | {{Employee.PostalSuburb}} |
Postal State | {{Employee.PostalState}} |
Postal Post Code | {{Employee.PostalPostcode}} |
Postal Country | {{Employee.PostalCountry}} |
Next of Kin Details | |
Name | {{Employee.EmergContactName}} |
Relationship | {{Employee.EmergContactRelationship}} |
Phone | {{Employee.EmergContactPhone}} |
Mobile | {{Employee.EmergContactMobile}} |
2nd Emergency Name | {{Employee.EmergContactName2}} |
2nd Emergency Relationship | {{Employee.EmergContactRelationship2}} |
2nd Emergency Phone | {{Employee.EmergContactPhone2}} |
2nd Emergency Mobile | {{Employee.EmergContactMobile2}} |
Bank Details |
|
Bank: | {{Employee.BankName}} |
BSB: | {{Employee.BankBSB}} |
Account Name: | {{Employee.BankAcctName}} |
Account No: | {{Employee.BankAcctNo}} |
Bank State: | {{Employee.BankState}} |
Tax ID: | {{Employee.TaxId}} |
Visa Details |
|
Passport Number: | {{Employee.PassportNumber}} |
Passport Country: | {{Employee.PassportCountry}} |
Visa Type: | {{Employee.VisaType.Name}} |
Visa Number: | {{Employee.VisaNumber}} |
Visa Expiry: | {{Employee.VisaExpiryString}} |
Employment Details |
|
Employment Type: | {{Employee.EmploymentType.Name}} |
Access Level: | {{Employee.AccessLevel.Name}} |
Clock-In Setting: | {{Employee.ClockInSetting.Name}} |
Pay Company: | {{Employee.PayCompany.Name}} |
Location: | {{Employee.Location.LocationName}} |
Department: | {{Employee.Department.Name}} |
Role: | {{Employee.Role.Name}} |
Award Profile: | {{Employee.Profile.Name}} |
Pay Rate Name: | {{Employee.PayRate.Name}} |
Pay Rate Hourly: | {{Employee.PayRate.RateHour}} |
Start Date: | {{Employee.DateStart}} |
Start Date (DD/MM/YYYY): |
{{Employee.DateStartShortDate}} |
Signatures |
|
Employee Signature | {{EmployeeSignature.Signature}} |
Employer Signature | {{EmployerSignature.Signature}} |
Dates |
|
Date Time Stamp | {{CurrentDateString}} |
Employee Signature Date | {{EmployeeSignature.Date}} |
Employer Signature Date | {{EmployerSignature.Date}} |
Fluid template engine syntax
Starting from version 6.0.7, the system uses the Fluid template engine to generate the document content. Fluid is a port of the popular Liquid template engine. The table above shows only the field names that are available for reference, but much more is possible using this template engine. For more information please refer to the online documentation.
Legacy Placeholder Syntax
The placeholders below are used by Humanforce version 6.0.6 and earlier. Please do not use these placeholders if you are on version 6.0.7 or later.
Personal Details |
|
First Name |
<#=@Model.Employee.NameFirst#> |
Last Name |
<#=@Model.Employee.NameFamily#> |
Title |
<#=@Model.Employee.EmployeeTitle.Name#> |
Birth Date |
<#=@Model.Employee.DOBString#> |
Gender |
<#=@Model.Employee.SexString#> |
Address 1 |
<#=@Model.Employee.Street1#> |
Suburb |
<#=@Model.Employee.Suburb#> |
State |
<#=@Model.Employee.State#> |
Post Code |
<#=@Model.Employee.Postcode#> |
Phone |
<#=@Model.Employee.Phone#> |
Mobile |
<#=@Model.Employee.Mobile#> |
|
<#=@Model.Employee.Email#> |
Email 2 |
<#=@Model.Employee.SecondaryEmail#> |
Country |
<#=@Model.Employee.Country#> |
Nationality |
<#=@Model.Employee.Nationality.Name#> |
Postal Address 1 |
<#=@Model.Employee.PostalStreet1#> |
Postal Suburb |
<#=@Model.Employee.PostalSuburb#> |
Postal State |
<#=@Model.Employee.PostalState#> |
Postal Post Code |
<#=@Model.Employee.PostalPostcode#> |
Postal Country |
<#=@Model.Employee.PostalCountry#> |
|
|
Next of Kin Details |
|
Name |
<#=@Model.Employee.EmergContactName#> |
Relationship |
<#=@Model.Employee.EmergContactRelationship#> |
Phone |
<#=@Model.Employee.EmergContactPhone#> |
Mobile |
<#=@Model.Employee.EmergContactMobile#> |
2nd Emergency Name |
<#=@Model.Employee.EmergContactName2#> |
2nd Emergency Relationship |
<#=@Model.Employee.EmergContactRelationship2#> |
2nd Emergency Phone |
<#=@Model.Employee.EmergContactPhone2#> |
2nd Emergency Mobile |
<#=@Model.Employee.EmergContactMobile2#> |
Bank Details |
|
Bank: |
<#=@Model.Employee.BankName#> |
BSB: |
<#=@Model.Employee.BankBSB#> |
Account Name: |
<#=@Model.Employee.BankAcctName#> |
Account No: |
<#=@Model.Employee.BankAcctNo#> |
Bank State: |
<#=@Model.Employee.BankState#> |
Tax ID: |
<#=@Model.Employee.TaxId#> |
Visa Details |
|
Passport Number: |
<#=@Model.Employee.PassportNumber#> |
Passport Country: |
<#=@Model.Employee.PassportCountry#> |
Visa Type: |
<#=@Model.Employee.VisaType.Name#> |
Visa Number: |
<#=@Model.Employee.VisaNumber#> |
Visa Expiry: |
<#=@Model.Employee.VisaExpiryString#> |
Employment Details |
|
Employment Type: |
<#=@Model.Employee.EmploymentType.Name#> |
Access Level: |
<#=@Model.Employee.AccessLevel.Name#> |
Clock-In Setting: |
<#=@Model.Employee.ClockInSetting.Name#> |
Pay Company: |
<#=@Model.Employee.PayCompany.Name#> |
Location: |
<#=@Model.Employee.Location.LocationName#> |
Department: |
<#=@Model.Employee.Department.Name#> |
Role: |
<#=@Model.Employee.Role.Name#> |
Award Profile: |
<#=@Model.Employee.Profile.Name#> |
Pay Rate Name: |
<#=@Model.Employee.PayRate.Name#> |
Pay Rate Hourly: |
<#=@Model.Employee.PayRate.RateHour#> |
Start Date (DD/MM/YYYY HH:MM): |
<#=@Model.Employee.DateStart#> |
Start Date (DD/MM/YYYY): Introduced in version 4.8.18 |
<#=@Model.Employee.DateStartShortDate#> |
Signatures |
|
Employee Signature |
<#=@Model.EmployeeSignature.Signature#> |
Employer Signature |
<#=@Model.EmployerSignature.Signature#> |
Dates |
|
Date Time Stamp |
<#=@DateTime.Now.ToLongDateString()#> |
Employee Signature Date |
<#=@Model.EmployeeSignature.Date#> |
Employer Signature Date |
<#=@Model.EmployerSignature.Date#> |