Creating a Student Card Template from a Word Document
This guide walks you through designing a template with dynamic fields and uploading it to the system. The template can then be used to generate student cards, either individually or in bulk.
This guide uses Microsoft Word to create the template, allowing for advanced customisation and layout control.
If you're new to using Word documents as templates, we recommend viewing this article first.
Before You Start
If you are not using standard CR80 (credit card-size) cards, check the exact dimensions of the cards you plan to print.
Confirm the printable area supported by your card printer, as some printers may not allow edge-to-edge printing and may require additional margins.
Decide what information you want to include on the card, such as the student’s name, date of birth, and other key details.
Make sure you have the necessary permissions assigned. If unsure, contact your system administrator for assistance.
Step 1 - Create the Template File
If you'd rather start with a ready-made template, download the file below and make your changes. You can then skip to Step 2.
Start by creating a new Microsoft Word file.
Go to the Layout tab and from the Page Setup panel:
Click on Size and select the Credit Card option.
Click on Orientation and select Portrait.
Click on Margins and adjust them according to your printer’s specifications. Set the margins as small as your printer allows to maximise the printable area.
Add your logo and apply any desired styling.
Insert the bookmarks you want to include on the card. Commonly used bookmarks are:
{ MERGEFIELD "students-student_photo IMAGE 120" }
-> Inserts the student’s photo at 120px width.{ MERGEFIELD "students-first_name" }
→ Inserts the student’s first name{ MERGEFIELD "students-last_name" }
→ Inserts the student’s last name{ MERGEFIELD "students-student_number" }
→ Inserts the student’s number{ MERGEFIELD "students-dob \@ "dd/MM/yyyy" }
-> Inserts the student’s date of birth, formatted as dd/mm/yyyy.
If enrolment details are required, insert the relevant enrolment bookmarks as needed.
Save the file with the extension .docx
Step 2 - Upload the Template File
Log into the Next Generation app.
Go to Utilities > Templates
Click New Template in the header bar.
Select the initial template options as follows:
Object: If you are including any enrolments bookmarks or creating the student cards from enrolments, choose Enrolments. Otherwise, choose Students
Channel: Document
Select the Word Document Template option
Type: Template
Click Next
You will now enter the details for the template:
Enter clear and meaningful values for both the name and API name.
If you use template categories, select the one that best fits.
For the file name, enter a meaningful name. This will be the name of the file when generating a student card. For example:
{{students-student_number}} - {{students-first_name}}, {{students-last_name}}
Upload the file you have created for the template.
Click Save and Exit
Step 3 - Test Template
If you added the student’s picture bookmark on the template file, make sure to pick a student that has a picture (view this article for details)
Go to the student or the enrolment (depending on what object you selected when creating the template) details page.
Click Merge Document in the header. A pop-up window will appear.
Select the Template you have created.
Ensure the ‘Add to document store’ option is not selected. As this is only a test, there’s no need to save the file in the student’s document store yet.
Click Merge to download the document.
Review the content to ensure everything appears as expected. If any changes are needed, update the original file and re-upload it to the template.