Custom Label Macros

Modified on Fri, Sep 8, 2023 at 10:44 AM

Custom Label Macros

To insert a macro into a custom label, surround the macro with ${}.
Optionally, you can specify the width in characters and an alignment. For example:
${STUDENT_NAME,40,R} would print the student's name in 40 characters right justified.
where as ${STUDENT_NAME} would just print the student name without any padding.
 The macros are not case-sensitive

Macro

Description

CURRENT_SCHOOL_YEAR

The current school year in Genesis (Ex. 2009-10)

HOME_SCHOOL_CODE

Student's Home School Code

HOME_SCHOOL_NAME

Student's Home School Name

PREVIOUS_SCHOOL_YEAR

The previous school year in Genesis (Ex. 2008-09)

NEXT_SCHOOL_YEAR

The next school year in Genesis (Ex. 2010-11)

STUDENT_NAME

Student's Name

STUDENT_GENDER

Student's Gender (M or F)

STUDENT_DOB

Student's Date of Birth

STUDENT_LAST_NAME

Student's Last Name (add _UPPER to end of macro to make all upper case)

STUDENT_LAST_INITIAL

Student's Last Initial

STUDENT_FIRST_NAME

Student's First Name (add _UPPER to end of macro to make all upper case)

STUDENT_MIDDLE_NAME

Student's Middle Name (add _UPPER to end of macro to make all upper case)

STUDENT_MIDDLE_INITIAL

Student's Middle Initial (add _UPPER to end of macro to make upper case)

STUDENT_NICKNAME

Student's Nickname

BIRTH_CITY

Student's city of birth

BIRTH_STATE

Student's state of birth

BIRTH_COUNTRY

Student's country of birth

STUDENT_ID

Student's Id

STUDENT_STATE_ID

Student's State Id

STUDENT_SSN

Student's Social Security Number

STUDENT_FAMILY_CODE

Student's Family Code

STUDENT_GRADE_LEVEL

Student's Grade Level

STUDENT_HOMEROOM

Student's Homeroom

STUDENT_HOMEROOM_TEACHER

Student's Homeroom Teacher

STUDENT_HR_TEACHER_LAST_NAME

Last name of the student's homeroom teacher

STUDENT_SESSION

Student's AM/PM Session

STUDENT_LOCKER

Student's Locker

STUDENT_LOCKER_COMBO

Student's Locker's Combination

STUDENT_PM_BUS_NUMBER

Student's PM Bus Number

STUDENT_PM_BUS_ROUTE

Student's PM Bus Route

STUDENT_PM_BUS_ROUTE2

Student's Second PM Bus Route (if available)

STUDENT_PM_BUS_COMMENTS

Student's PM Bus Comments

STUDENT_PM_BUS_TIME

Student's PM Bus Time

STUDENT_AM_BUS_NUMBER

Student's AM Bus Number

STUDENT_AM_BUS_ROUTE

Student's AM Bus Route

STUDENT_AM_BUS_COMMENTS

Student's AM Bus Comments

STUDENT_AM_BUS_TIME

Student's AM Bus Time

STUDENT_AM_BUS_STOP

STUDENT_PM_BUS_STOP

STUDENT_LUNCH_CODE

Student's Lunch Code

STUDENT_LUNCH_APPLICATION

Application number of Lunch Application is a part of

STUDENT_LUNCH_PIN

Student's Lunch Pin

STUDENT_PRIMARY_LANGUAGE

Student's Primary Language

STUDENT_PRIMARY_LANGUAGE_CODE

Student's Primary Language Code

STUDENT_CASE_MANAGER_CODE


STUDENT_CASE_MANAGER_NAME


STUDENT_CITIZENSHIP

Student's Citizenship

STUDENT_CITIZENSHIP_CODE

Student's Citizenship Code

STUDENT_SPEC_ED_STATUS_CODE

Student's Special Ed Status Code

STUDENT_STATE_CLASSIFICATION_CODE

Student's State Classification Code

STUDENT_ETHNICITY

Student's Ethnicity

STUDENT_ETHNICITY_CODE

Student's Ethnicity Code

STUDENT_ENTRY_DATE

Student's Entry Date

STUDENT_HS_ENTRY_DATE

Student's High School Entry Date

STUDENT_REGISTRATION_DATE

Student's Registration Date

STUDENT_DISTRICT_ENTRY_DATE

Student's Entry in District Date

STUDENT_SCHOOL_ENTRY_DATE

Student's Entry in School Date

GUARDIAN1_NAME

Prints the full name of the Guardian 1 contact.

GUARDIAN1_FIRST_NAME


GUARDIAN1_LAST_NAME


GUARDIAN2_NAME

Prints the full name of the Guardian 2 contact.

STUDENT_LR_HOME_CONTACT_NAME

Original: Student's Parents Name (Home contact on the LR Address Record)
Contacts 2: Prints the full name of the Guardian 1 contact.

STUDENT_HOME_CONTACT_NAME

Original: Name on the Home Contact record.
Contacts 2: Prints the full name of the contact of the address record the label is for.

STUDENT_HOME_CONTACT_NAME2

Original: Name on the Home Contact record; if Home Contact does not exists; the name on the Home Contact on the LR Address is used.
Contacts 2: Prints the full name of the contact of the address record the label is for.

STUDENT_LR_EMERG1_CONTACT_NAME

Original: Student's Emergency Contact Name (Emerg1 contact on the LR Address Record)
Contacts 2: Prints the full name of the Emergency 1 contact.

STUDENT_GUIDANCE_COUNSELOR_NAME

Student's Guidance Counselor

STUDENT_GUIDANCE_COUNSELOR_CODE

Student's Guidance Counselor's Code

STUDENT_TEAM_CODE

Student's current team code

STUDENT_TEAM_NAME

Student's current team name (as defined in Scheduling.Setup.Teams)

STUDENT_TOTAL_ABSENCES

Student's Total Absences for Current School

STUDENT_TOTAL_TARDIES

Student's Total Tardies for Current School

STUDENT_TOTAL_POSSIBLE

Student's Total Possible Days for Current School

STUDENT_TOTAL_PRESENT

Student's Total Presents for Current School

STUDENT_ATTENDANCE_PERCENTAGE

Student's Attendance percentage (Total Days Present / Total Possible Days)

SCHOOL_CODE

Student's School Code

SCHOOL_NAME

Student's School Name

SCHOOL_STATE_CODE

Student's School State Code

SCHOOL_ADDRESS_LINE1

Student's School Address Line 1

SCHOOL_ADDRESS_LINE2

Student's School Address Line 2

SCHOOL_ADDRESS_CITY

Student's School Address City

SCHOOL_ADDRESS_STATE

Student's School Address State

SCHOOL_ADDRESS_ZIP

Student's School Address Zip

ADDRESS_NAME

Original: Student's Address's Name (Usually Parent's Name)
Contacts 2: The mailing name of the address. If mailing name does not exist, the contact's full name will be used instead.

ADDRESS_LINE1

Student's Address Line 1

ADDRESS_LINE2

Student's Address Line 2

ADDRESS_COMPLEX

The building complex on the address

ADDRESS_CITY

Student's Address City

ADDRESS_STATE

Student's Address State

ADDRESS_ZIP

Student's Address Zip

ADDRESS_COUNTRY

The country of the address

PHONE_NUMBER_LR_HOME

Original: Student's Legal Residence Phone Number
Contacts 2: Guardian 1 Home Phone Number.

PHONE_NUMBER_LR_EMERG1

Original: Student's Legal Residence Emerg1 Phone Number
Contacts 2: Emergency 1 Home Phone Number.

PHONE_NUMBER_G1_WORK

Contacts 2 Only Work # for Guardian 1

PHONE_NUMBER_G1_MOBILE

Contacts 2 Only Mobile # for Guardian 1

EMAIL_ADDRESS_G1

Contacts 2 Only Email Address for Guardian 1

STUDENT_GPA

This macro should be used with a colon following the macro name, and the GPA Code following the colon. For instance the macro ${STUDENT_GPA:CUM} will give you a student's CUM GPA.

STUDENT_CLASS_RANK

This macro should be used with a colon following the macro name, and the GPA Code following the colon. For instance, the macro ${STUDENT_CLASS_RANK:CUM} will give you a student's CUM ranking.

STUDENT_CLASS_SIZE

This macro should be used with a colon following the macro name, and the GPA Code following the colon. For instance the macro ${STUDENT_CLASS_SIZE:CUM} will give you a student's CUM class size.

STUDENT_CLASS_OF

Class of (If it is greater than 0).

STUDENT_YEAR_OF_GRADUATION

Year of graduation(If it is greater than 0).

NEXT_YEAR_SCHOOL_NAME

The name of the school that a student will attend next year. (Based on a student's Next Year Assignment)

NEXT_YEAR_SCHOOL_CODE

The code of the school that a student will attend next year. (Based on a student's Next Year Assignment)

NEXT_YEAR_GRADE

The grade level of a student in the next school year. (Based on a student's Next Year Assignment)

NEXT_YEAR_HOMEROOM

The homeroom of a student in the next school year. (Based on a student's Next Year Assignment)

NEXT_YEAR_COUNSELOR

The name of the counselor for next year for a student. (Based on a student's Next Year Assignment)

NEXT_YEAR_HR_TEACHER

The name of the HR teacher for the student next year. This value is based on the student's next year homeroom which is compared to the current homeroom field on a teacher's next year record.

CHILDCARE_AFTER_FACILITY

Displays the facility name on the Child Care tab if the After School box is checked

BUS_EITHER_WALKER

Displays a Y if the walker check box is marked on either the AM or PM bus routes on the Bus tab

BUS_WALKS_TO_SCHOOL

Displays a Y if the walker check box is marked on the AM bus route on the bus tab

BUS_WALKS_HOME

Displays a Y if the walker check box is marked on the PM bus route on the bus tab

USER_TEXT:<CODE>

This will display a User Text Field for a student.  In order to use this, replace <CODE> with the actual code of the user text field.  If you were to want to print a user text field that has a code of TEST, you would add ${USER_TEXT:TEST} to your label.

 ROTATION_GROUP_CODE

Code for rotation group

ROTATION_GROUP

Name of rotation group

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article