Register for our next webinar, 5 Keys to Unlock Storytelling in Your eLearning, where you'll learn how to unlock the magic of storytelling in your eLearning development to increase learner engagement and retention! Join Andrew Townsend, our Campaign Marketing Manager, on Thursday, December 3, 2020 at 11:00 AM MDT.

Be The First On Your Block to Rock Lectora® 21!


Apply for exclusive early access to the latest version of Lectora® Desktop v21. Seating is limited so apply now!

In need of help with your eLearning? Feel free to ask a question of the community! You can also visit our Knowledge Base or, if you're in need of immediate assistance, submit a case to our Customer Success team.

LMSSetValue Error: Data Model Element Type Mismatch

weewee Community Member Posts: 71
I get this message right before it goes to my last page = LMSSetValue Error: Data Model Element Type Mismatch



On my last page I have 2 actions (below) to set completion status for my SCORM 2004 course. Why am I getting this message? Thank you so much for any suggestions.



Show, Modify Variable, AICC_Lesson_Status, Value: completed

Show, Modify Variable, CMI_Completion_Status, Value: completed

Comments

  • renekoppesrenekoppes Community Member Posts: 1
    Hi,

    I have the same problem. The module was published in SCORM 2004. If you publish to Scorm 2004 you need two action at laste page or page where the module would be set to completed.

    We used the two actions advised by Trivantis:

    <span class="wysiwyg-font-size-medium">Completion Status</span>

    On: Show
    Action: Modify variable
    Variable: CMI_Completion_Status
    Value: completed

    <span class="wysiwyg-font-size-medium">Success Status</span>

    On: Show
    Action: Modify variable
    Variable: AICC_Lesson_Status
    Value: passed

    Could you someone explain to me why this error occurs?  Please let me know.

    René
  • brainnoduifbrainnoduif Community Member Posts: 4
    Did someone solve this issue? I have the same problem

    LMSSetValue Error: Data Model Element Type Mismatch
  • timktimk Community Member Posts: 1,126
    As far as I know CMI_Completion_Status is Scorm 2004 and AICC_Lesson_Status is Scorm 1.2, both doing the same, i.e. sending the status a user has achieved for the module. The Scorm versions use different Data Models, so you could try to remove one of the actions depending on which Scorm version you publish to.
  • mnotermans5114mnotermans5114 Community Member Posts: 916
    Scorm2004 is infamous for errors and buggy behaviour. Do use Scorm1.2 or if you really need the extra benefits use xApi. Skip 2004, most of the industry does.
  • agibson6580agibson6580 Community Member Posts: 1
    I am getting the same error: LMSSetValue Error: Data Model Element Type Mismatch

    Does anyone have a solution for it?

    I have a check box on the last page of the e-learning.

    Trigger : Select

    Action: Modify variable

    Target: AICC_Lesson_Status

    Value: completed.

    Thanks in advance.
  • carlfinkcarlfink Community Member Posts: 641 ♪ Opening Act ♪
    It's mentioned up higher in this thread: SCORM 2004 doesn't use AICC_Lesson_Status. Use CMI_Completion_Status instead.
  • fcioanca7805fcioanca7805 Community Member Posts: 12
    Hi, We are testing a potential new LMS, and I am encountering an error on the SCORM 2004 files that we currently use with no errors on a different LMS. This comes up when I try to exit the course:

    LMSSetValue Error: cmi.session_time to [PT0H0M14S] Data Model Element Type Mismatch.

    When closing the error popup message, an additional error message is displayed:

    LMSSetValue Error: adl.nav.request to [exit] Data Model Element is Read Only.

    Any suggestions on how to fix these errors would be greatly appreciated.

    Thank you,

    Flavia

     
  • carlfinkcarlfink Community Member Posts: 641 ♪ Opening Act ♪
    I'm not an expert, but the message:

    LMSSetValue Error: cmi.session_time to [PT0H0M14S] Data Model Element Type Mismatch.

    would seem to say that you're trying to set a time value to the odd string value "PToHoM14S". I think I see that Ho would be hours, M minutes, and S seconds, but what would P or To be? I wonder if that's a format type that your new LMS does not recognize but the old one did.

    Then the second message:

    LMSSetValue Error: adl.nav.request to [exit] Data Model Element is Read Only.

    That seems to indicate that the new LMS just plain won't let you set the session time--it can only be set automatically by the LMS, if I am guessing correctly. Are you changing that SCORM variable with an action, or is it something Lectora generated?
  • fcioanca7805fcioanca7805 Community Member Posts: 12
    Hi,

    I am not making any changes to the variable - this is just generated by Lectora Online when publishing to SCORM 2004.

    Flavia
  • jking4853jking4853 Community Member Posts: 1
    Hi Flavia,

     

    I wonder if you got an answer regarding the LMSSetValue Error: cmi.session_time to [PT0H0M14S] 

    In debugging a SCORM 2004 course that is not sending time values to the LMS I am finding the same issue.

    Hope you were able to resolve.

     
  • timktimk Community Member Posts: 1,126
    [PT0H0M14S]

    This seems to be a correctly formatted value of cmi.session_time for Scorm 2004. It means 0 Hours, 0 Minutes, 14 seconds. P could be followed by values for Years, Months and Days.

    Data Model Element Type Mismatch

    This means that the formatting does not match the Scorm version. In Scorm 1.2 for example the same time should be formatted as "00:00:14.0"

    Are you sure, you publish to the same Scorm version the LMS expects?
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!

Be The First On Your Block to Rock Lectora® 21!


Apply for exclusive early access to the latest version of Lectora® Desktop v21. Seating is limited so apply now!