HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Passing Score from an external program
Passing Score from an external program
  View type:

I have an simulated training program which I am including in CourseLab using a IFRAME.

In IFRAME I provide the URL of this program and it plays the simulation program.

This simulation program has a built in test and it provides the user score.

I need to pass on this score to courselab for tracking in LMS.

I tried creating a variable in courselab and passing the score from the simulation program using, the parent.variablename, but this does not seem to work.

Any help will be appreciated.


A variable in CL is not accessible from javascript by it's name.
See thread 'passing variables to javascript'
Again consider your target market or audience. Ideally the url you give should be on the same server as the material.
Some network security will stop calls to secondary urls, streaming media of specific or any kind.
It is also very bad technique to place any reliance upon materials that are not a part of the module. If they are a key component and become unavailable for any reason then your module becomes nothing more than a waste of bandwidth.
Also if you have or own the explicit rights to use the material then you will be able to make it a part of the module itself.
Message options
No additional options