Question about changing the status on Commit()

Topics: Developer Forum
Jun 24, 2014 at 9:03 PM
Hi,

I am a software developer. My superiors have tossed me into this project where I need to have get a rudimentary LMS working in a few days. I have setup a sharepiont foundation 2010 server and installed the latest SLK. I have acquired a SCORM file from the product owner and uploaded the file to the site and assigned the action to some learner. Everthing appears to work.

Except that the product owner doesn't like the way the interface work. So basically when a learner takes the training, they launch the training into a separate window. At some point, they click on the submit button on the training (based on flash?). The submit is apparently recorded, but it doesn't appear that the assignment status changes. To change the assignment status, they have to either press the submit button on the left table of content pane, or click submit on the description screen or the assignment won't move from "In progress" to "final". What the product owner wanted is for the status to get updated to "final" when the learner press submit in the training.

I examined discussion, and the most promising recommendation appears to be to modify the goodbye.html to run a series of javascript.

https://slk.codeplex.com/discussions/31101

No offense to the posters, but this is a bit of a hack. What I want to know when the SCORM calls commit(), does sharepoint toolkit actually change status?

I supposed I could take a look at the code, but there's so much to do and so little time.

Paul
Coordinator
Jul 1, 2014 at 11:58 PM
I believe that in the SCORM standard commit() just means save data to persistent storage. It doesn't complete the session, that's terminate.

Richard
SLK Coordinator
http://blog.salamandersoft.co.uk