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.
To see a list of available variables from within Claro simply type {{ into any text field.
Type | Name | Description | Variable |
Assessment | is 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 Answered | The number of questions the learner has answered in the assessment. | {{sys.assessment.questionsAnswered}} | |
Questions Remaining | The number of questions the learner has not yet answered in the assessment. | {{sys.assessment.questionsRemaining}} | |
Total Questions | The number of questions in the assessment. | {{sys.assessment.totalQuestions}} | |
Total Weight | The total weight of all the questions in the assessment. | {{sys.assessment.totalWeight}} | |
Course | Completed Tests | The number of tests the learner has already attempted. | {{sys.course.completedTests}} |
Compliance | The compliance metadata of the course. | {{sys.course.compliance}} | |
Copyright | The copyright metadata of the course. | {{sys.course.copyright}} | |
Description | The 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 Text | The text displayed on the endscreen if the learner failed the course. | {{sys.course.failText}} | |
Language | The 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 Tests | The number of tests the learner has yet to attempt. | {{sys.course.remainingTests}} | |
Title | The title of the course. | {{sys.course.title}} | |
Total Tests | The number of tests the learner has to take in total. | {{sys.course.totalTests}} | |
Type | The type of learning being consumed (i.e. course, job aid, assessment, etc.) displayed as a numerical value. 1 = Course 2 = Presentation 3 = Job Aid 4 = Activity 5 = Assessment 6 = Experience 7 = Scenario 8 = Simulation |
{{sys.course.type}} | |
Summary | The summary metadata of the course. | {{sys.course.summary}} | |
Current Module | Module 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 Score | The score the learner achieved in the pre-test. Returns null if they have not taken the pre test yet. | {{sys.currentModule.pretestscore}} | |
Module Score | The score for the current module. | {{sys.currentModule.score}} | |
Title | The title of the current module. | {{sys.currentModule.title}} | |
Current Object | Description | The 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 Completed | A boolean to determine 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}} |
ID | The 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}} | |
Title | The title of the current page. | {{sys.currentPage.title}} | |
Transcript | The transcript for the current page. | {{sys.currentPage.transcript}} | |
Learner | Course Score | The 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 ID | The 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 Count | The number of pages in the course. | {{sys.player.pageCount}} | |
Publishing Profile | Force 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}} |
Comments