Content Manager Tokens
A number of tokens are defined for the content manager. These tokens may be used in page text or other context. When used, the content manager will automatically replace each token with the appropriate value.
Drive Tokens
$FD$ file:///A|
The user's floppy drive setting or "A:" if not set
$HD$ file:///C|
The user's hard drive setting or "C:" if not set
$CD$ file:///D|
The user's CD drive setting or "D:" if not set
$DVD$ file:///D|
The user's DVD drive setting or "D:" if not set
User Tokens
$USER_ID$ sparty
The user id of the user accessing the system
$ESC_USER_ID$ sparty%40msu%2Eedu
The URL encoded user id of the user accessing the system
$USER_NAME$ John Doe
The full name of the user accessing the system
$ESC_USER_NAME$ John+Doe
The URL encoded full name of the user accessing the system
$FIRST_NAME$ John
The first name of the user accessing the system
$LAST_NAME$ Doe
The last name of the user accessing the system
Course Tokens
$COURSE_ID$ DEV-SANDBOX-LOUNDSNA-100-000114
The section id of the content area being accessed
$ESC_COURSE_ID$ DEV%2DSANDBOX%2DLOUNDSNA%2D100%2D000114
The URL encoded section id of the content area being accessed
$COURSE_TITLE$ ANGEL Tips & Techniques
The title of the content area being accessed
$ESC_COURSE_TITLE$ ANGEL+Tips+&+Techniques
The URL encoded title of the content area being accessed
$COURSE_PATH$ /AngelUploads/Content/DEV-SANDBOX-LOUNDSNA-100-000114/
The base path for files associated with the content area being accessed
Application Tokens
$ANGEL:NAME$ ANGEL
Application name of the ANGEL environment
$ANGEL:TIMEOUT$ 90
Session timeout value for the application
$ANGEL:NAVBUTTONS$ true
Value of the APP_NavButtons application setting
$ANGEL:FRAMES$ true
Value of the APP_Frames application setting
$ANGEL:VROOT$ /
Value of the APP_VRoot application setting
$APP_ID$ CRSCNT
The APP_ID for this instance of the component
$ESC_APP_ID$ CRSCNT
The URL encoded APP_ID for this instance of the component
$IMAGE_PATH$ https://angel.msu.edu/images/
The base path for image files used by the component for buttons and icons
$SCRIPT_PATH$ https://angel.msu.edu/section/content/
The base path to the script file that instantiated the component
$SCRIPT_NAME$ /section/content/default.asp
The relative path to the script file that instantiated the component
$QUERY:settingName$
Value of the specified query string parameter
$POST:settingName$
Value of the specified form element
Resource Tokens
$ENTRY_ID$ 4E260136FD474A05B037E82FCE902653
Entry ID of the current resource object
$ESC_ENTRY_ID$ 4E260136FD474A05B037E82FCE902653
URL Encoded Entry ID of the current resource object
$ENTRY_TITLE$ List of Tokens
Title of the current resource object
$ESC_ENTRY_TITLE$ List+of+Tokens
URL Encoded Title of the current resource object
$ENTRY_PATH$ /AngelUploads/Content/DEV-SANDBOX-LOUNDSNA-100-000114/
_assoc/4E260136FD474A05B037E82FCE902653/
Path to the associated files folder of the current resource object
$PARENT_ID$ ROOT
Entry ID of the parent object of the current resource
$ESC_PARENT_ID$ ROOT
URL Encoded Entry ID of the parent object of the current resource
$PARENT_PATH$ /AngelUploads/Content/DEV-SANDBOX-LOUNDSNA-100-000114/
Path to the associated files folder of the parent object of the current resource
Event Tokens
$RESPONSE_ID$
The response id to which the event pertains
$SQL_RESPONSE_ID$
The response id to which the event pertains escaped for SQL
$EVENT_GRADE$
The grade specified for this event
$EVENT_USER$
The user id to which the event pertains
$EVENT_SECTION$
The section id to which the event pertains
$EVENT_MIN$
The minimum grade allowed to trigger action
$EVENT_MAX$
The maximum grade allowed to trigger action
Custom Event Tokens
The following tokens may be used as either a term in a conditional expression or within a parameter. The pound signs (#) should be replaced with the 1-based ordinal position of the question. The alternateID must match the alternate id specified for the survey question.
All Events and Object Types
$EVENT_GRADE$
The grade associated with the event.
$EVENT_USER$
The User ID of the user associated with the event.
$EVENT_SECTION$
The Section ID of the course or group associated with the event.
$EVENT_MIN$
The minimum grade triggers the action.
$EVENT_MAX$
The maximum grade triggers the action.
$SQL_EVENT_USER$ (SQL trigger only)
The SQL escaped event User ID.
$SQL_EVENT_SECTION$ (SQL trigger only)
The SQL escaped event Section ID.
$VARVAL$ (SETVAR, REPLACEVAR)
Current value of variable
Quiz GRADE/SUBMIT Events
$Q# :RESPONSE$
The user's response to the specified question
$Q#:ANSWER$
The answer key for the specified question
$Q#:SCORE$
The user's score for the specified question
$Q#:POSSIBLE$
The maximum points possible for the specified question
$POINTS:POSSIBLE$
The total points possible for the quiz
$POINTS:MISSED$
The total points the user missed for the quiz
$POINTS:AWARDED$
The total points the user earned for the quiz
$POINTS:UNGRADED$
The total points as yet unscored for the quiz
Survey SUBMIT Events
$Q#:RESPONSE$
For example, the student's answer to the first question in the survey would be $Q1:RESPONSE$
$Q#:OPTIONS$
$FIELD[alternateID]:RESPONSE$
$FIELD[alternateID]:OPTIONS$





List of Tokens
