High Definition eLearning
Welcome guest, is this your first visit? Create Account now to join.
  • Login:

Welcome to the Lectora and CourseMill Forums

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Using CMI.suspend_data with multiple variables

    I have three user-defined variables that I am passing to the LMS via CMI.suspend_data. A stored procedure within the LMS needs the data from each variable to be passed in a specific order.

    Does anyone know if there is a way to ensure each variable's content is appended to CMI.suspend_data in a specific order?

    Alternatively, can anyone point out where I need to look under the bonnet, to see when and how published content (SCORM 2004) is passing these variables to the LMS?

  2. #2
    Ben Pitman aka Dr Lectora
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    5,948
    Thanks
    7
    Thanked 271 Times in 265 Posts

    Default

    I have learned that the best way is to parse the data based on variable name bcause then the order does not matter. That is not always easy.
    Through trial and error I was able to determine that the sequence in which the variables appear seems to depend on when they were last used. To solve this problem what I did was to have a series of actions just before the person exited to use them in the order I wanted them to appear. Sorry, I do not remember whether first appears first or last. Anyway, since I could not be sure when they would exit, I put all the actions in a group and ran them with a title level action On Show for every page. Did not slow anything down. They looked like this:
    On Show, Modify Variable, Target: Variable1; Value: Var(Variable1)
    On Show. Modify Variable, Target: pageUsage; Value: Var(pageUsage)
    etc.
    New Jan 19: Free Chapter of Designing Effective eLearning: A Step-by-Step Guide from Amazon

    cheers, ben -- aka Dr. Lectora: Lectora Resources & Services

    678-571-4179 - ben.pitman@eProficiency.com

  3. The Following User Says Thank You to benpitman For This Useful Post:

    Matelot (10-20-2011)


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Lectora and CourseMill are registered trademarks of Trivantis Corporation, Camtasia and Snagit are registered trademarks of TechSmith Corporation and
Flypaper is a trademark of Flypaper Studio. Camtasia and Snagit are used with the permission of TechSmith Corporation.
Copyright © 1999-2012 Trivantis Corporation Inc. All rights reserved.