What are some of the Variables available?

Authors can natively set, get, display or evaluate variables in almost any imaginable way. Our platform also provides read-only metadata, state and status variables that authors can leverage to populate fields, evaluate user status, course progress, etc. If you can dream it, you can do it.

To see a list of available variables from within Claro simply type {{ into any text field.

TypeNameDescriptionVariable
Assessmentis Pre Test?A boolean to determine if the current assessment is a pre-test.{{sys.assessment.ispretest}}

is Post Test?A boolean to determine if the current assessment is a post-test.{{sys.assessment.isposttest}}

Questions AnsweredThe number of questions the learner has answered in the assessment.{{sys.assessment.questionsAnswered}}

Questions RemainingThe number of questions the learner has not yet answered in the assessment.{{sys.assessment.questionsRemaining}}

Total QuestionsThe number of questions in the assessment.{{sys.assessment.totalQuestions}}

Total WeightThe total weight of all the questions in the assessment.{{sys.assessment.totalWeight}}
CourseCompleted Tests
The number of tests the learner has already attempted.
{{sys.course.completedTests}}

ComplianceThe compliance metadata of the course.{{sys.course.compliance}}

CopyrightThe copyright metadata of the course.{{sys.course.copyright}}

DescriptionThe description of the course.
{{sys.course.description}}

Disclaimer The disclaimer metadata of the course.{{sys.course.disclaimer}}

Duration The duration of the course in minutes.
{{sys.course.duration}}

Fail TextThe text displayed on the endscreen if the learner failed the course.
{{sys.course.failText}}

LanguageThe language for the course represented by a culture code (i.e. en-US).
{{sys.course.language}}

Passing Grade
The passing score for the course.
{{sys.course.passmark}}

Pass Text
The text displayed on the endscreen if the learner passed the course.
{{sys.course.passText}}

Published Date The date the course was published (in preview, the last modified date).
{{sys.course.publishedDate}}

Remaining TestsThe number of tests the learner has yet to attempt.
{{sys.course.remainingTests}}

Title The title of the course.
{{sys.course.title}}

Total TestsThe number of tests the learner has to take in total.
{{sys.course.totalTests}}

Summary The summary metadata of the course.
{{sys.course.summary}}



Current ModuleModule Complete?  
A boolean to determine if the learner has completed the learning for the current module.
{{sys.currentModule.complete}}

Module Page Count The number of pages in the current module.
{{sys.currentModule.pageCount}}

Module Post-Test Score The score the learner achieved in the post-test. Returns null if they have not taken the post test yet.
{{sys.currentModule.posttestscre}}

Module Pre-Test ScoreThe score the learner achieved in the pre-test. Returns null if they have not taken the pre test yet.
{{sys.currentModule.pretestscore}}

Module ScoreThe score for the current module.
{{sys.currentModule.score}}

TitleThe title of the current module.
{{sys.currentModule.title}}




Current ObjectDescriptionThe description of the current Learning Object.{{sys.currentObject.description}}

Learning Object Page Count The number of pages in the current Learning Object.
{{sys.currentObject.pageCount}}

Object CompletedA boolean to determine if the learner if the learner has completed the learning for the current Learning Object.
{{sys.currentObject.complete}}

Title The title of the current Learning Object. 
{{sys.currentObject.title}}




Current Page
Description
The description of the current page.
{{sys.currentPage.description}}

IDThe ID of the current page.
{{sys.currentPage.id}}

Module Index
The index of the page within the current module.
{{sys.currentPage.moduleIndex}}

Note The note for the current page.
{{sys.currentPage.note}}

Object Index The index of the page within the current Learning Object.
{{sys.currentPage.objectIndex}}

TitleThe title of the current page.
{{sys.currentPage.title}}

Transcript The transcript for the current page.
{{sys.currentPage.transcript}}




LearnerCourse ScoreThe current test score the learner has achieved averaged over the whole course.
{{sys.learner.score}}

Learning Completion
The % of learning the learner has completed in the course.
{{sys.learner.completion}}

Lesson Status The lesson status for the learner across the whole course.
{{sys.learner.status}}

Student Name The name of the learner (prompts learner if not available).
{{sys.learner.name}}

User IDThe ID of the learner.
{{sys.learner.id}}




Player
In Assessment
A Boolean used to determine if the player is currently displaying a test.
{{sys.player.inassessment}}

In Test Review A Boolean used to determine if the player is currently displaying a test review.
{{sys.player.inreview}}

Is Muted? A Boolean used to determine if the learner has muted the player or not.
{{sys.player.muted}}

Page CountThe number of pages in the course.
{{sys.player.pageCount}}



Publishing ProfileForce Sequential? A boolean to determine if learner is forced in to taking content sequentially.
{{sys.profile.forcesequential}}

Post-Test Enabled? A boolean to determine if post-testing is enabled.
{{sys.profile.posttestenabled}}

Post-Test Review?A boolean to determine if post-testing has a review option.
{{sys.profile.posttestreview}}

Pre-Test Enabled? A boolean to determine if pre-testing is enabled.
{{sys.profile.pretestenabled}}

Pre-Test Forced? A boolean to determine if pre-testing is forced.{{sys.profile.pretestforced}}

Pre-Test Review?A boolean to determine if pre-testing has a review option.{{sys.profile.pretestreview}}

Retest Attempts The number of attempts a learner has for each test.{{sys.profile.retestAttempts}}

Feedback and Knowledge Base