LMS Commit on page load?
May 3, 2018 12:00 AM
Hello
undefined
My client is super picky...
They are requesting a LMS Commit upon EVERY page load. So they need a constant "dirty data" check. We changed the environment from 10 second check to 5 min check... but that will only work if every page load commits.
Ideas?
undefined
Discussion (5)
I see this so often (wanting to do a commit each page) maybe we should just add a LMSCommitData action!
Also if you set either the AICC_Score or AICC_Lesson_Status using a Modify Variable action that will do a commit. For this solution you can just set the variable equal to itself.
Here is how you can call LMSCommit manually:
https://community.trivantis.com/forums/topic/does-lectoraonline-wait-for-the-lmslrs-to-respond/
undefined
I am using LMC commit to set 1- AICC _Score setEqual to 100 , 2- AICC_Lesson_Status to "completed" 3- VarCommitOk.set(LMSCommit()); 4- then Goto Certificate page.
upon Complete Course Button click.
The person at Accenture sent me a Force Commit ".aco" file but I cant see to open in LectoraOnline.
I attached awo.
so I finally got code from someone at Accenture and they are using this.:
if(LMSCommit() == "false")
alert("Oops!!! Looks like the course could not communicate with myLearning. Your progress HAS NOT been updated. Please exit and restart the course.");
So - 1
does this load on every page because its at the ROOT of the course?
IOW- Does inheritance work here- so every page loads the LMSCommit code and checks for LMSCommit?
Then that info is available to the LMS/LRS?
2- is there another way I can have each action- next, page viewed, etc be available for the dirty data collection at Accenture?
What am I missing here?
undefined
thanks
Bryan Holland
310-745-6922
undefined
Discussions have been disabled for this post