Explore the community Forums Lectora Lectora Questions & Answers LMSSetValue Error: Data Model Element Type Mismatch

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #281470 Score: 0
    Profile photo of Wee
    Wee
    Member
    1 pt
    @Wee

    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

    #299146 Score: 0
    Profile photo of Rene Koppes
    Rene Koppes
    Member
    beginner
    intermediate
    @renekoppes

    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é

    Attachments:
    #357949 Score: 0
    Profile photo of Arjan van Duivenboden
    Arjan van Duivenboden
    Member
    beginner
    intermediate
    wise owl
    friend finder
    curious george
    @BrainnoDuif

    Did someone solve this issue? I have the same problem

    LMSSetValue Error: Data Model Element Type Mismatch

    #357966 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    294 pts
    @timk

    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.

    #358002 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    115 pts
    @mnotermans5114

    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.

    #390219 Score: 0
    Profile photo of Alicia Gibson
    Alicia Gibson
    Member
    beginner
    intermediate
    wise owl
    @agibson6580

    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.

    #390840 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    20 pts
    @CarlFink

    It’s mentioned up higher in this thread: SCORM 2004 doesn’t use AICC_Lesson_Status. Use CMI_Completion_Status instead.

    #416141 Score: 0
    Profile photo of Flavia Cioanca
    Flavia Cioanca
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    1 pt
    @fcioanca7805

    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

     

    #416161 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    20 pts
    @CarlFink

    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?

    #416163 Score: 0
    Profile photo of Flavia Cioanca
    Flavia Cioanca
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    1 pt
    @fcioanca7805

    Hi,

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

    Flavia

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.