Debugging the SharePoint Learning Kit Frameset and SCORM Interactions

09 November, 2015 · 1 minute to read

Debugging the SharePoint Learning Kit Frameset and SCORM Interactions

This post is for SCORM tool and package developers rather than the users of SLK.

If you need to see the interactions between a SCORM package and the SharePoint Learning Kit frameset there is a debug mode which will show you all the interactions between the package and SLK. Once enabled, the frameset will pop up another window into which all the interactions are logged. Here is an example from saving the answers from the first Quick Check in the Solitaire package (click for a bigger image).

DebugFull

Looking at the output more closely at the highlighted lines below, you can see that the first interaction has an ID of Q1, is of type fill-in and the value is patience.

DebugLog

 

Hopefully, this should give you enough information if your package isn't working as expected with SLK.

To enable the debugging:

  1. Do not do this on a production server, only on a development machine.
  2. Find FramesetMgr.js in C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATELAYOUTSSharePointLearningKitFramesetInclude or the equivalent path on your server. If you are running SharePoint 2007, the 14 will be a 12 and if you are using a localised version of Windows it will be in the localised path.
  3. Open the javascript file in your favourite text editor and find line numbers 153 and 154. 
  4. Comment out the FM_NoOp line and uncomment the FM_DebugLog line to give 
  5. Next time you open the Frameset you should also get the debug window showing. Note, that you may need to allow pop-up windows for it to show.

Hopefully this will enable you to debug your packages interactions with SLK.

PostDebug
PreDebug
Richard Willis headshot

Written by Richard Willis

Managing Director / Founder

Richard started SalamanderSoft in 2007 after a successful career as a software developer. Wanting to start his own company and with experience in integrating school systems he set out to build the best integration system for schools and to exceed customer expectations. He starting out on his own, doing all the coding, support and sales until finally the growing number of customers meant he needed to start growing the team. He is still heavily involved in coding the core Integration Suite product in addition to running the company and being the first point of contact for prospective customers.

Copyright © 2020 SalamanderSoft Limited