Quantcast
Channel: SalamanderSoft - Education Integration » SLK
Viewing all articles
Browse latest Browse all 32

Debugging the SharePoint Learning Kit Frameset and SCORM Interactions

$
0
0

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 Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SharePointLearningKit\Frameset\Include 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. PreDebug
  4. Comment out the FM_NoOp line and uncomment the FM_DebugLog line to give PostDebug
  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.


Viewing all articles
Browse latest Browse all 32

Trending Articles