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}}

Interactivity and Animation

  1. How do I add interactions or interactivity to my page? Add links, actions, timed events, animations, hotspots, and image maps.
  2. How do I insert a Hotspot to add interactions?
  3. How do I add an action to an element that when trigger will Show or Hide or Toggle other elements (mouse event interaction)?
  4. Insert or add a pre-built button to a page (and edit it)
  5. How do I add an Action to Animate elements?
  6. How do I add a Swap Content Action to an element?
  7. How do I add a Light Box Action to an element?
  8. How do I insert a Text Input box on a page that learners can enter text into?
  9. How do I add an Action for Player Controls (Course Player navigation buttons: e.g., Forward, Back, Audio, Transcript buttons)?
  10. Media event actions and interaction (sync or time events to audio and video)
  11. What are the Animate Effects I can apply to element interactions or page actions?
  12. Adding a Link to URL using a modal target does not work for some sites (produces empty box)
  13. How do I add a link or hyperlink to a URL website, email or ftp site?
  14. How do I add a drag and drop interaction to my content page?
  15. How do I create an image with interactive hotspots?
  16. How do I allow the user to print a course page?
  17. How do I edit or remove an Action from an element on my page?
  18. How do I edit, delete, or remove Hotspots (Image Map) from an element?
  19. How do I get audio to play when a Hotspot or Action is triggered?
  20. How do I hide all mouse event targets on the stage? Hide Targets feature
  21. How do I make "hidden" hotspots? How do I hide the pointer hand cursor on a button?
  22. How do I make a page link to another page? How do I make branching interactions?
  23. Page, Jump, and Endscreen Transitions for a course (and Default Effect)
  24. Add an Entrance Effect to elements on a page
  25. How to Disable and Enable the Menu Button
  26. How do I add, edit and remove Actions within text elements?
  27. How do I add, edit and remove Links within text elements?
  28. Can learners search a course for specific content?
  29. What data does the course player search against during a course search?
  30. How do I display variables in my course?
  31. How do I make form fields available as variables?
  32. How do I set a custom variable?
  33. What are some of the Variables available?

Feedback and Knowledge Base