Publishing to an LMS that doesn't have SCORM
Hello,
We have an in-house LMS that doesn't use scorm or any other standardized system at this point. Our developer has written a javascript code (for Adobe Captivate) to pull results. Now that we've switched to Lectora, he needs to update that script. My questions:
How should I publish a course? I haven't written content (yet) for SCORM/API, etc. So I'm not sure how this should be packaged.
What is the script for capturing pass/fail data? If you know Captivate, cpQuizInfoPassFail is what our code looks for. Is this Test_1_Score in Lectora or is it Test 1 Pass_2-Col> Your Score and Test 1 Fail_2-Col-> Your Score or something else?
Answers
-
wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 685 eLearning ROCKSTAR Admin Team
You could just publish your project to HTML and upload the resulting HTML to your LMS.
When you create a test and mark it to be "graded" then it will store the result in a reserved variable the name of the test, which you can see in the Variable Manager on the Tools menu.
You will want to create a success and a fail page in your course after the test. Put these pages in the Test object properties behavior tab as the pass and fail pages. Then on those pages you can add a Run JavaScript action (triggered on show of the page) and put in your JavaScript to post the score.
If your test is "Test 1" then the variable would be named Test_1_Score in the variable manager and you would access the test score in JavaScript like this:
VarTest_1_Score.getValue()
You can also use triv$ (internal jQuery) to make an ajax call, just look at the jQuery documentation if you are not familiar with it.
If you are passing in the user name or other information on the URL you can get those easily too with Run JavaScript actions
console.log((new URL(window.location)).searchParams.get('email'));
Hope this helps get you going.
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products