Bookmark gets set on first lesson, then set to false on any other lesson

13 views
Skip to first unread message

scormsayz

unread,
Nov 4, 2009, 12:49:55 PM11/4/09
to eLearning Technology and Development
Sorry, I thought I would be able to debug this based off of my last
error. No luck.

Once again, everything is working properly locally on my Test Wrap
page. I am able to select any lesson and a bookmark is set.

When I upload to Test Track, and I click into Lesson 1, a bookmark is
properly set. However when I click any other lesson -- even if I click
any other lesson without first choosing the frist lesson, my bookmark
is getting set to false.

I am getting the same output from my Test Wrap so I'm not sure why it
thinks only the first lesson is cool.
This is what I am getting back:
API call detected: LMSSetValue
>Param1="cmi.core.lesson_location"
>Param2=",page_01.swf,page_02.swf,page_03.swf,page_04.swf,page_05.swf:lesson_01/:2:

Lesson One
"

I use split() to parse out the string into an array to track where I'm
at:
files in lesson array : directory : [index] : leson title


I get the same thing for Lesson 2:
API call detected: LMSSetValue
>Param1="cmi.core.lesson_location"
>Param2=",page_01.swf,page_02.swf,page_03.swf,page_04.swf,page_05.swf,page_06.swf,page_07.swf,page_08.swf,page_09.swf,page_10.swf,page_11.swf,page_12.swf,page_13.swf,page_14.swf,page_15.swf,page_16.swf,page_17.swf,page_18.swf,page_19.swf,page_20.swf,page_21.swf:lesson_02/:2:

Lesson Two
"

So the output is the same, but for some reason Test Track just sets
the bookmark to "False" for some reson on any lesson other than lesson
1.

Ryan Meyer

unread,
Nov 4, 2009, 1:03:12 PM11/4/09
to elearning-technolo...@googlegroups.com
Again, this property name changed in SCORM 2004 from "cmi.core.lesson_location" to "cmi.location". If all your code is already working with the SCORM 1.2 variable names, rather than change your variable names you should configure your SCORM wrapper to only work with SCORM 1.2. (Most wrappers provide some way to explicitly set which version to work with.)
If you do plan on changing from SCORM 1.2 to 2004, you'll also have to modify your manifest and the schema files that are included.

-Ryan

scormsayz

unread,
Nov 4, 2009, 1:39:47 PM11/4/09
to eLearning Technology and Development
No... ultimately I need 1.2.
wow, I feel like a complete tool now. :)

Only out of curiosity, why would it (Test Track) accept only the 1
lesson. If its trying to read 1.2 into 2004... Just a chance thing you
think?


On Nov 4, 12:03 pm, Ryan Meyer <ryan.e.me...@gmail.com> wrote:
> Again, this property name changed in SCORM 2004 from
> "cmi.core.lesson_location" to "cmi.location". If all your code is already
> working with the SCORM 1.2 variable names, rather than change your variable
> names you should configure your SCORM wrapper to only work with SCORM 1.2.
> (Most wrappers provide some way to explicitly set which version to work
> with.)
> If you do plan on changing from SCORM 1.2 to 2004, you'll also have to
> modify your manifest and the schema files that are included.
>
> -Ryan
>

Charles Parcell

unread,
Nov 4, 2009, 3:29:45 PM11/4/09
to eLearning Technology and Development
See my post in the other thread about hard coding the SCORM version
into your API.

About TestTrack... I have only used TestTrack a little and am not an
authority on it. I did read that there is some logic in it that it
will attempt to error correct in some cases. Perhaps this is what you
are seeing. It could also simply be sending back a default value that
happens to match up.

Charles P.
> > > >Param2=",page_01.swf,page_02.swf,page_03.swf,page_04.swf,page_05.swf:lesso n_01/:2:
>
> > > Lesson One
> > > "
>
> > > I use split() to parse out the string into an array to track where I'm
> > > at:
> > > files in lesson array : directory :  [index] : leson title
>
> > > I get the same thing for Lesson 2:
> > > API call detected: LMSSetValue
> > > >Param1="cmi.core.lesson_location"
>
> > > >Param2=",page_01.swf,page_02.swf,page_03.swf,page_04.swf,page_05.swf,page_ 06.swf,page_07.swf,page_08.swf,page_09.swf,page_10.swf,page_11.swf,page_12. swf,page_13.swf,page_14.swf,page_15.swf,page_16.swf,page_17.swf,page_18.swf ,page_19.swf,page_20.swf,page_21.swf:lesson_02/:2:
Reply all
Reply to author
Forward
0 new messages