Skip to main content
jessed2488
Participant
December 12, 2017
Question

Importing LMS Variables (hire date) into Captivate

  • December 12, 2017
  • 1 reply
  • 264 views

I'd like to import a user's hire date into an e-learning module. The LMS we currently use is Cornerstone. I've read that it may require some Javascript.

I know a little Javascript, but not sure how to call an outside variable to be pulled into a captivate file. 

    This topic has been closed for replies.

    1 reply

    Erik Lord
    Inspiring
    December 12, 2017

    There are only so many values that are supported by SCORM, and perhaps even less depending on how the LMS implements SCORM, and depending on what version of SCORM...

    For example as long as the LMS stores the user's login name in the proper field, you can query the LMS for the 'student_name' variable and the LMS will return the value.

    But that only works for values defined in the SCORM model, and if the LMS stores them, and responds to the queries, properly.

    Here's a list of SCORM variables (I cannot vouch for accuracy or completeness, but it's a good resource):

    https://scorm.com/scorm-explained/technical-scorm/run-time/run-time-reference/

    Here's a previous post the describes a process for doing this:

    Reading SCORM variables

    SO if you can get all that working with, say, cmi.core.student_name (SCORM 1.2) or cmi.learner_name (SCORM 2004), then the next step would be to determine where you could store the user's hire date in a variable SCORM supports (i.e. 'location'?)