sending inormation to LMS.

I would like to send the content of a custom variable back to the LMS on every page. Because my current title does not have questions, but a series of flash movies, the variable information only gets sent to the LMS when the Exit button is clicked, or the Cancel button. Will modifying the SCOFunctions file acheive this? I see "var autoCommit = false". Will making it true commit my custom variable values on every page, or do I need to create a new variable to achieve this?Thanks in advance,Jessie

Discussion (1)

Hi,In Lectora when you add the variables from Tool-->Manage Variables, you have to check the the option Retain Variables between sessions.If this done Lectora automatically comits the variable to LMS.In order to set the value of the variable you can follow any one of the steps give below.Step1Javascript code Eg : LMSName is the variable name VarLMSName.set("Jessie") ORWithin LectoraStep2 Eg: on click if u want to set the value on click of a button. go to Onclick tab and do the following Action : Modify Variable Target:LMSName Value : Jessie Modification Type : Set Variable contentsYou dont have to change any of the SCOFunctionsStill if the variable is not commited to LMSRefer Step 1 above: add the following line of code LMSCommit()It will work fine.Hope that helpsHave nice day

Discussions have been disabled for this post