Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #406072 Score: 0
    Profile photo of Tere Kauppila
    Tere Kauppila
    Member
    LUC16 Attendee
    beginner
    intermediate
    friend finder
    profile
    curious george
    wise owl
    @teusta07

    Hello Everyone,

    I have been changing the content of a textbox with the VAR(AICC_Student_Name), it works but the Firstname is duplicated.  I have checked our LMS, but I have only one name in there.

    Anyone experienced like this?  Could anyone help me to solve this?

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

    I’ve used Student_Name for some years now without seeing this problem.

    What LMS? Version of Lectora? Published to what target? (AICC? SCORM?)

    Publish with debugging turned on, and see what values AICC_Student_Name takes.

    If that is not productive, use a network packet analyzer (e. g. Wireshark) and see exactly what information the LMS sends. I’m suspecting an LMS bug since this is not a known Lectora issue.

    #409162 Score: 0
    Profile photo of Tere Kauppila
    Tere Kauppila
    Member
    LUC16 Attendee
    beginner
    intermediate
    friend finder
    profile
    curious george
    wise owl
    @teusta07

    Hi CarlFink!

    Thank you.  We are using SABA Cloud.  The Lectora version I am using is v17 and I am publishing to SCORM.

    I run the course from our LMS, and inspect the elements and I’ve got attached screenshot.

     

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

    Hi, Tere,

    You’re using JavaScript to read the student name. I always used the built-in variables in Lectora, in Lectora Actions.

    I believe that to access a Lectora Variable within a JavaScript extension, you would preface the variable name with “Var”. Try using “VarAICCStudentName”.

    Note: I added the SCORM and JavaScript keywords to this thread.

    #409194 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
    251 pts
    @timk

    Isn’t that a built-in variable / “Change content” action, published to Scorm / Javascript? It should be alright as otherwise the name would not appear at all. The doubled first name seems to be in the variable.

    Does Saba have a profile field for the middle name? Maybe the first name is in both fields?

     

    #409310 Score: 0
    Profile photo of Tere Kauppila
    Tere Kauppila
    Member
    LUC16 Attendee
    beginner
    intermediate
    friend finder
    profile
    curious george
    wise owl
    @teusta07

    Hi Carl and Tim,

    Yes, I have used the built-in variable from Lectora.  The above screenshot was when I run the course from LMS and inspect the page element.

    But in Lectora, I have an On page Show action that will change the content of the textbox with a text + variable.

     

     

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

    Why not test your course on SCORM Cloud (http://cloud.scorm.com)? Free account, and if the problem does not happen there, you know it’s somewhere in the SABA/Lectora communication. At that point (or maybe now) Trivantis support might be the place to get help.

    #409554 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
    251 pts
    @timk

    I tested this with Lectora 17.0.6 in moodle and it worked as it should. How does the name look like in your page? The content of AICC_Student_Name should be:

    Lastname, Firstname

     

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

You must be logged in to reply to this topic.