Document Template Merge Fields and Glossary

Document Template Merge Fields and Glossary

Here is a list of all Document Merge Fields that can be used within Document Templates

A document Merge Field is a feature used primarily in documents to automatically insert personalised or variable data into a document. This process is commonly used for creating Certificates, Sign in sheets, Registers, and other types of documents where the same format is used but with different information for each recipient.

image-20240621-095543.png

Please see the list below of all available Merge Fields for accessplanit


Please Note!
When adding Merge Fields to a Document Template from this glossary, it's recommended that you type these in manually, to save any accidental spaces from being copied as well. If you require support with adding Merge Fields to a Word Document, please feel free to call the Support Team on 01524 389 841, or raising a request via our Customer Portal.

DO NOT include special characters in the file name of a Document Template, names should only be alphanumeric, if a file name contains a symbol, the template will break

Adding a Merge Field to a Document

This step will guide you on how to add a Merge Field to a Document.

  1. Click into your document where you would like to place the Merge Field

    word document placement

     

  2. Open the ‘Insert' menu in Microsoft Word and view the 'Quick Parts’ options

    image-20240213-085321.png

Please Note!

If you are using a Mac you will go to Insert > Field

  1. Click the ‘field’ option from the drop down to open the ‘Field’ pop-up window

    Quick Parts - Field option selected
    Field pop up box

 

  1. From the ‘Field names:' list scroll down and select the 'MergeField’ option

    MergeField option selected

 

  1. Paste the merge field label into the ‘Field name:’ textbox

    the merge field course_label is being added via the MergeField options

 

Please Note!
It is possible to insert upper case fields if preferred.

Typical use cases for this are fields such as Delegate names on sign in sheets and registers where information needs to be filled in in block capitals.

image-20250528-075032.png
  1. Click the OK button to add your Merge Field into your document

    Merge Field added to document

Multiple Delegate Merge Field Formatting

If you are creating a Sign-In Sheet or Register, you need to ensure that you put :number at the end of the Field Name. If you don't add this in, the first field will repeat itself down the list.

This can be used across a number of Merge Fields, here are some examples below:
candidate_name:1

candidate_name:2

candidate_name:3

image-20240621-095543.png

Top Tip!
A quick way to edit multiple Merge Fields is to press ALT+F9 to set the fields to ‘advanced' mode. You can then amend each number within the fields, press ALT+F9 again, right click on each field and update field, this will amend them all quickly for you instead of having to add each one manually.


Merge Field Glossary

Here is a list of Individual Merge Fields that can be used within Documents for information required within accessplanit

Training Provider Merge Fields

Merge Field

Purpose

Merge Field

Purpose

provider_address

The Training Provider First Line of Address

provider_town

Training Provider Town

provider_county

Training Provider County

provider_country

Training Provider Country

provider_postcode

Training Provider postcode

provider_phone

Training Provider Main Contact Number

provider_fax

Training Providers Fax Number

provider_email

Training Provider Email Address

provider_name

Training Provider Name

provider_fulladdress

Training Provider’s full address listed as:
First Line Address
Town
County
Country
Postcode

Delegate Company Merge Fields

Merge Field

Purpose

Merge Field

Purpose

customer_companyname

Company Name the Delegate

customer_address

First Line of Address of the Delegates Company

customer_town

Town of the Delegates Company

customer_county

County of the Delegates Company

customer_country

Country of the Delegates Company

customer_postcode

Postcode of the Delegates Company

customer_fulladdress

Delegates Company full address listed as:
First Line Address
Town
County
Country
Postcode

Delegate Merge Fields

Merge Field

Purpose

Merge Field

Purpose

candidate_names

First and Last name of Delegate

candidate_forename

Delegate First Name

candidate_middlenames

Delegate Middle Name(s)

candidate_surname

Delegate Surname

candidate_gender

Delegate Gender

candidate_userid

Delegate User ID

candidate_userid~coursedate_id

Delegate ID

candidate_status

The Status of the Delegate on the Course

candidate_companyname

Delegates Booking Account Name

candidate_jobrole

Delegates Job Role

candidate_address

Delegates First Line of Address

candidate_town

Delegate Town

candidate_county

Delegate County

candidate_country

Delegate Country

candidate_postcode

Delegate Poscode

candidate_fulladdress

Delegates full address listed as:
First Line Address
Town
County
Country
Postcode

candidate_fulladdressnopostcode

Delegates full address listed as:
First Line Address
Town
County
Country

candidate_fulladdressnocountry

Delegates full address listed as:
First Line Address
Town
County
Postcode

candidate_ninumber

Delegates National Insurance Number

candidate_ethniticy

Delegates Ethnicity

candidate_nationality

Delegates Nationality

candidate_jobtitle

Delegate Job Title

candidate_phone

Delegate Phone Number

candidate_contactno

Delegate Mobile Number

candidate_dob

Delegate Date of Birth

candidate_age

Delegate Age

candidate_sexualorientation

Delegate Sexual Orientation

candidate_coursedate_notes

Delegate Course Date Notes

company_name

Delegate Provider Name

candidite_resourcecost

Delegate Resource Cost

candidate_invoice_reference

Delegate Invoice Reference

candidate_invoice_paid

Delegate Invoice Paid

candidate_invoice_status

Delegate Invoice Status

candidate_special_needs

Delegate Special Needs

coursedateuser.email

Delegate Email Address

coursedateuser.score

Delegate eLearning Score

coursedateuser.user.activecompany.name

Shows the first active employment record (first in alphabetical order) against the linked User

coursedateuser.title

Title of your Delegate

coursedateuser.coursedate.duration

Duration of the Course for your Delegate

coursedateuser.coursedate.durationtype

Duration Type of the Course for your Delegate. For example days, hours, minutes

coursedateuser.user.maincompany.name

User Main Account Name

Delegate Award Merge Fields

Merge Field

Purpose

Merge Field

Purpose

candidate_award_id

ID of the Award for the Delegate

candidate_award_label

Label of the Award for the Delegate

candidate_award_completed

Completed Award Date for the Delegate

candidate_award_expires

Award Expiry Date for the Delegate

candidate_award_expires-1

If you are changing this to a specific date format, the "-1" should be after the formatting

candidate_award_certificate_number

Certificate Number for the Delegate

Course Template Merge Fields

Merge Field

Purpose

Merge Field

Purpose

course_id

Course Template ID which is found under the ‘Details’ section of the Course Template

course_label

Course Template Name

course_duration

Course Template Duration

course_description

Course Template Description (Objectives)

course_overview

Course Template Overview (Aims)

course_summary

Course Template Summary

course_joininginsructions (Yes the spelling mistake is needed for this field)

Course Template Joining Instruction. If the Course Template Joining Instructions are empty, this merge field will use the Course Date Joining Instruction

Course.TrainingPoints

Course Template Training Points (CPD)

coursedateuser.coursedate.course.externalid

External ID from Class Course - Class Course Details - External ID

coursedateuser.coursedate.externalid

External ID from Class Course - Class Course Details - Provision - External ID

Course Date Merge Fields

Merge Field

Purpose

Merge Field

Purpose

coursedate_id

This is the Course ID which is found within the details section of a Course

course_startdate

Course Start Date will require a Date format from the ‘Managing Date Formats in Merge Fields’ section above. For example dd/MM/yyyy

course_starttime

Course Start Time

course_enddate

Course End Date will require a Date format from the ‘Managing Date Formats in Merge Fields’ section above. For example dd/MM/yyyy

course_endtime

Course End Time

date_range

Course Start date as 11/02/2024 format

datetime_range

Course Start date as 11/02/2024 09:00 - 17:00 format

coursedate_cost

Course Cost

coursedate_places

This is how many places are on the Course

coursedate_notes

This shows any Notes from the Course

course_aliaslabel

Course Alias Label

coursedate_description

Course Description

coursedate_joininginstructions

Course Date Joining Instructions

coursedate.CandidatesBooked

This is the number of Delegates booked on the Course

coursedate.SpacesLeft

This is how many spaces are left on the Course

coursedate.duration

Duration of the Course

coursedate.durationtype

Duration Type of your Course. For example hours, days, minutes. This would work injunction with the Merge Field above

 Sessional Courses Merge Fields

Merge Field

Purpose

Merge Field

Purpose

candidate_sessions_newline

Displays session names with a new line separator

candidate_sessions_comma_newline

Displays session names with a comma and new line separator

candidate_sessions_comma

Displays session names with a comma separator

candidate_session_dates_newline

Displays session name and date with new line separator

candidate_session_dates_comma_newline

Displays session name and date with a comma and new line separator

candidate_session_dates_comma

Displays session name and date with a comma separator

Trainer Merge Fields

Top Tip!

If you have multiple Trainers mapped to your Course, the Merge Fields below need to be added to your document in the order the Trainers were mapped to the Course. For example, if you have Trainer ‘Joe Bloggs’, but also want to add Trainer ‘Jane Doe’, you would add ‘trainer_fullname1’ and ‘trainer_fullname2’. Using the ‘trainer_fullnames’ Merge Field will add all Trainers mapped to the Course comma separated. This works the same for all Merge Fields listed below

Merge Field

Purpose

Merge Field

Purpose

trainer_fullnames      (all trainers)

trainer_fullname1  

trainer_fullname2  

trainer_fullname3

trainer_fullname4

Trainer First and Last name

trainer_forenames1

trainer_forenames2

trainer_forenames3

trainer_forenames4

Trainer First Name

trainer_surname1

trainer_surname2

trainer_surname3

trainer_surname4

Trainer Surname

trainer_email1

trainer_email2

trainer_email3

trainer_email4

Trainer Email Address

trainer_mobile1

trainer_mobile2

trainer_mobile3

trainer_mobile4

Trainer Mobile Number

trainer_phone1

trainer_phone2

trainer_phone3

trainer_phone4

Trainer Main Phone Number

trainer_description1

trainer_description2

trainer_description3

trainer_description4

Trainer Description

Venue Merge Fields

Merge Field

Purpose

Merge Field

Purpose

venue_maincontact

Main Contact at the Venue

venue_name

Name of the Venue

venue_address

First line of the Address for the Venue

venue_town

Venues Town

venue_county

Venues County

venue_country

Venues Country

venue_postcode

Venue Postcode

venue_phone

Venues Main Contact Number

venue_fulladdress

Venue's full address listed as:
First Line Address
Town
County
Country
Postcode

venue_description

Description of the Venue

Award Merge Fields

Merge Field

Purpose

Merge Field

Purpose

award_id

ID of the Award

award_label

Label of the Award

award_type

Type of the Award

award_completed

Award Completed Date

award_expires

Award Expiry Date

award_expires-1

If you are changing this to a specific date format, the "-1" should be after the formatting

Although you can pull through Merge fields for User Awards, User Award Custom Fields cannot be used currently


Custom Field Merge Fields

Custom Fields can be pulled through to Document Templates via merge fields, if they have been created using the Custom Field builder in the Administration area.

These need to be formatted with a prefix stating which module the field uses, for example (only the below 4 modules can be used within Custom Fields):

  • coursedateuser - For Delegates

  • coursedateuser.user - For Users

  • coursedate - For Course dates

  • coursedate.coursecompany - For Course Templates

This then needs to be followed by the indicator ".CF_" to tell your platform to find a custom field, and then appended by the label of the field itself, with underscores added to indicate spaces between words, e.g. "Date_Cancelled".

Your final Merge Field should look something like this:

coursedateuser.CF_date_cancelled

You can check which of the 4 Modules your Custom Field is using by going to the Custom Fields DataGrid in the Administration and adding the ‘Module’ column to your DataGrid

image-20240621-135329.png

Custom Field - Delegate Merge Fields

Please Note This format is for Custom Fields created in the Delegate Module, not User or Course Custom Fields that have been shared with Delegates. Merge Field Field Type CourseDateUser.CF_Date_Cancelled Delegate date field CourseDateUser.CF_Cancellation_Reasons Delegate free text CourseDateUser.CF_Refunded Delegate checkbox CourseDateUser.CF_Group Delegate number CourseDateUser.CF_Participant_Type Delegate drop down box

Custom Field - User Merge Fields

Merge Field Field Type CourseDateUser.User.CF_Enrolment_Date User date field CourseDateUser.User.CF_Emergency_Contact User free text CourseDateUser.User.CF_Authorised User checkbox CourseDateUser.User.CF_Direct_Reports User number CourseDateUser.User.CF_Site_Status User drop down box

 

Custom Field - Course Date Merge Fields

Merge Field Field Type CourseDate.CF_Course_Approved_Date Course Date date field CourseDate.CF_Notes_for_Trainer Course free text CourseDate.CF_Course_Approved Course checkbox CourseDate.CF_Examiners_Required Course number CourseDate.CF_Venue_Format Course drop down box

 

Custom Field - Course Template Merge Fields

Merge Field Field Type CourseDate.CourseCompany.CF_Course_Title Course Date date field CourseDate.CourseCompany.CF_Room_Requirements Course free text CourseDate.CourseCompany.CF_Approved Course checkbox CourseDate.CourseCompany.CF_Code Course number CourseDate.CourseCompany.CF_Food_Options Course drop down box

 


Managing Date & Cost Formats

You are able to manipulate the format of dates within your Documents, such as outputting a start date for a Course of 26 January 2018 or 26-Jan-18

Managing Date Formats in Merge Fields

To do this you will need to add the following to the end of your Merge Field {"format":"dd/MM/yyyy"}, changing the dd/MM/yyyy to the format of your choice

Format

Output

Format

Output

dd/MM/yyyy

01/12/2018

dd-MMM-yy

01-Dec-18

dd MMMM yyyy hh:mm

01 December 2018 05:00

dd MMMM yyyy HH:mm

01 December 2018 17:00

dddd dd MMMM yyyy hh:mm

Monday 01 December 2018 09:00

Common examples used:

 

candidate_dob:1{"format":"dd-MM-yyyy"}

Change candidate_dob:1 number sequence per line following the Multiple Delegate Merge Field Formatting section

course_startdate{"format":"dd-MM-yyyy"}

 

course_endtime{"format":"dd-MM-yyyy"}

 

candidate_award_expires{"format":"dd-MM-yyyy"}

 

Use capital M for month and lowercase m for minute.

Use capital H for 24 hour format, use lowercase h for 12 hour format. For eXample
@@CourseDateStartDate{ddd MMM dd yyyy hh:mm tt}

= Mon Jul 3 2024 04:30 PM

@@CourseDateStartDate{ddd MMM dd yyyy HH:mm tt}

= Mon Jul 3 2024 16:30 PM

Please Note
If you wish to use a comma within your date string you will have to use two merge fields either side of the comma character, like this:

myDate{"format":"MMMM dd"}, myDate{"format":"yyyy"}

Will give:

July 4, 2024

Managing Cost Formats in Merge Fields

Please Note!
By adding the formatting, this ensures that the total amount shows as £0.00 within your Document Templates

Add the Merge Field in as you would normally, then suffix it with your required format within curly brackets, for example:

coursedate_cost{£0.00}

£0.00

For British pounds

€0.00

For Euros (hold ALT+ type 0128)

$0.00

For Dollars


Managing HTML Merge Fields

You are able to pull the HTML stored within the platform into your Document Templates for specific fields. For example, if you apply formatting to your venue description text, and course descriptions, this can be pulled into your Document Template to make reading your documents easier for your customers and trainers.

To update a merge field to pull through the formatting, such as bullet points, you just need to add {"format":"html"} to the end of your Merge Field. For example: Merge Field course_overview{"format":"html"} course_description{"format":"html"} course_summary{"format":"html"} course_joininginsructions{"format":"html"} (Yes the spelling mistake is needed for this Merge Field) venue_description{"format":"html"} 

Managing Attributes in Merge Fields

It is possible to pull some attribute values into your Document Templates, but you will need to find out what the attribute's number is. Each attribute field in the platform has a number to identify it and the accessplanit support team will be able to let you know what your attribute numbers are.

You can pull attributes for Users, Delegates, Course Templates, and Course Dates onto your Document Templates. Note, do not include special characters in the file name of a Document Template, names should only be alphanumeric, if a file name contains a symbol, the template will break. if you are in any doubt at all, please contact the accessplanit support team. Merge Field Example Area of the Platform candidate_attr_n Dietary Requirements User candidate_company_attr_n Tax Code User Company usercoursedate_attr_n Delegate group Delegate usercoursedate_company_attr_n Department Code Delegate Company coursedate_attr_n Funded by Course Date course_attr_n Course Code Course Template venue_attr_n Nominal Code Venue Add the attribute merge field into your Document Template as you would with any field, replacing the 'n' with the attribute number that you require, e.g. candidate_attr_10002.

FAQ’s

Merge Fields not pulling through data with Capital Letters

You need to make sure that the Merge Field within the document has Capital Letters For example, candidate_name should be ‘Candiate_Name’, it will pull through lower case without this

Can I include Placeholder fields and Placeholder Custom Fields in my Document Templates

No only Delegate, Course, Course Template, User, and limited User Award merge fields are available for Document Templates

How do I make sure I use the correct merge fields in my Document Templates?

Find the section that matches what you’re building the document for, for example: Training Provider Delegate / Delegate Company Course / Course Date Venue Custom Fields (e.g. coursedateuser.CF_...) Only the merge fields listed on this page (and the documented custom field formats) are supported for Document Templates. 2. Type merge fields manually instead of copy/paste When adding merge fields into Word: In Word, go to Insert > Quick Parts > Field (on Mac: Insert > Field). Choose MergeField as the field type. Type the merge field name exactly as shown in the glossary into the Field name box (rather than pasting), to avoid hidden spaces or characters. Click OK to insert it. Typing the field name helps prevent issues where a merge field looks correct but doesn’t pull any data. For step-by-step instructions, see: How To: Document Templates 3. Use the correct format for Custom Fields If you’re using Custom Fields in your Document Templates: Check the Custom Field Merge Fields section on the glossary page: Make sure you use the right module prefix, for example: coursedateuser – Delegate coursedateuser.user – User coursedate – Course Date coursedate.coursecompany – Course Template Then follow it with .CF_ and the field label with underscores instead of spaces. Example: coursedateuser.CF_date_cancelled If you’re unsure which module to use, check the Module column for your Custom Field in the Administration area. 4. Check special formatting rules (sign-in sheets, capitalisation, etc.) Some merge fields have additional rules: Multiple delegates (sign-in sheets/registers) Add :number to the end of the merge field, e.g.: candidate_name:1 candidate_name:2 candidate_name:3 Capitalisation on certificates If names or text aren’t displaying in the expected case, check you’re using the correct field name and capitalisation as described in: Document Template Issues 5. If a merge field doesn’t exist (or doesn’t work) If you can’t find the merge field you want in the glossary, or it’s not pulling data: Double‑check the field spelling and format against the glossary. Confirm you’ve inserted it as a MergeField in Word (not just typed text). If it still isn’t available, you can: Review the Document Template Issues page: Submit a suggestion via the Product Suggestion Portal (linked from those pages).

Contact Our Team

If you can't find what you're looking for, access our Support Portal, and our team of experts will be happy to help!

Follow Us

Facebook|height=20 LinkedIn|height=20 Instagram|height=20 Twitter|height=20

Copyright © 2025 accessplanit.

Social media icons by icons8.com