Need a unique user/course ID variable in SCORM 1.2 package

时间:2018-04-20 00:50:18

标签: scorm scorm1.2

I'm working on a project that requires a unique "enrollment" id inside a file inside a SCORM package. Something that works like this:

<script src="...?enrollmentid=1234567890"></script>

I have figured out that I should be able to obtain a student_id, but this is too broad an identifier for this use. The id I use must describe a single student/course enrollment uniquely, as a student could enroll in multiple courses, and a course could have multiple students enrolled.

The id could be a composite of other fields, like student_id + course id + enrollment date, but I can't see any way to get those sorts of details from the LMS either.

Is what I'm trying to do possible?

1 个答案:

答案 0 :(得分:1)

SCORM 1.2甚至2004年不包括注册日期,课程ID或SCO标题/结构等内容,除非通过作者时通过imsmanifest.xml发布的启动数据输入。这些是你需要提供的东西。

cmi.core.student_id是您直接从SCORM获得的唯一唯一值。 LMS没有给出一种方法来包括它导入课程时使用的任何Tier ID或内部。除非他们(不可靠)将它们放在启动参数中,或者你有办法用javascript(也不可靠)进行一些探测,否则你需要考虑其他一些选项。

启动数据cmi.launch_data可能是获取您想要传递给SCO的任何值的最简单方法,但这在很大程度上依赖于SCO及其imsmanifest.xml的创作过程。有LCMS设置或创作工具的某种机制的情况可以启用这些功能。

我在imsmanifest.xml中的<title/>标记下面添加了这个: <!-- Launch Data Example uses Querystring format name=value&name=value --> <adlcp:dataFromLMS><![CDATA[name=value]]></adlcp:dataFromLMS>

当我声明不可靠时 - 我的意思是暗示除非你能明确说明你知道这个内容在哪里运行,并且LMS永远不会改变,否则你将无法获得任何可靠的信息。方式。

SCORM命名空间 - https://www.dropbox.com/s/6tcs89byixx37x3/SCOBot-Content-API-Standards-Breakdown.pdf?dl=0