JSON to SCORM 1.2 LMS

I try to use javascript to store some JSON to a SCORM 1.2 LMS, but it is a failure.

I make a call like

SCORM_CallLMSSetValue ("cmi.comments", JSON.stringify (data));

where 'data' are a dim one table

and she throws an exception because the value is an invalid string, for example.

"[' Test data']."

Is this a problem with the Cp or the LMS?

They get attached as I explained in a previous post you on the storage of a variable in the LMS. You must use a delimiter for the last comment. I use an asterisk and divide the comment and take the last index.

It ' b easy enough to create a comma-separated string to put in the comments.

Tags: Adobe Captivate

Similar Questions

  • Cp5: 2 Modules with 2 folders SCORM. Download LMS

    I use Cp5, exit Flash10, Upload of cornerstone LMS.

    Module1 has a button (on the last slide) which opens the module 2. After you have built the modules I get 2 Zip files. Each contains swf, htm files etc and also a SCORM file.

    How should I treat correctly download the files from the LMS? What I'm doing with 2 folders SCORM?

    What is the exact process?  Zip - all in a single file?

    Module1 contains slides of learning with table of contents, module2 contains a quiz with 10 blades, each followed by 2 slides of text.

    It is important the results of the correct quiz of module 2, but both modules must bookmark where the user has suspended.

    Table of contents do not work in the quiz.

    Can anyone help?

    You may find it useful to learn some of the basics on how compatible SCORM LMS need to interact with course modules. The SCORM standard requires certain things to do in a certain way in order to facilitate the correct notation and track what does the user.  One of these requirements is that the modules must be closed and launched specifically to ensure proper data are transferred to the LMS.  So the LMS needs to know about the learner has achieved a given and then module needs to know what specific module to start then.

    You did nothing wrong with separate modules.  I agree that this implies that they are each smaller size and therefore load more quickly.  You just need to get used to the idea that the way in which the user must launch the second module is KNOCK from the LMS, not by a button in Module 1.

  • Presenter Edition 11 SCORM 4.

    It seems that I can't choose edition 4. (from SCORM 2004) for my presenter project 11. Our LMS gives a warning when trying to download the edition version 3.

    4 edition is not available in presenter 11 (when it will be?) or I do something wrong?

    Very little LMS support SCORM 2004 3rd edition.  Even less would support version 4.

    Frankly, unless you're at a level where you are trying to use sophisticated in several courses SCORM sequencing rules I don't really think there is much point trying to use SCORM 2004 if your LMS does not seem to support anyway.

    For most of the course SCORM 1.2 is quite adequate, is the SCORM version an LMS all will try to support.

  • Captivate 9 - LMS completion questions and quiz preferences

    Hello

    Having a nightmare.  I have developed a unique course with simulations.  However I must quiz slides or knowledge check.

    I tried to publish on a settings of SCORM 1.2 LMS System.  Performance criteria I want is a percentage of slide views (70%).

    The course publishes and runs smoothly in our workplace LMS - however - after which crosses the whole of the project and our closing system fails to enroll in courses such as "completed". We get the NE NOT EVALUATED values instead.

    I tried to adjust the performance criteria, even for the "USER ACCESS" minimum but still no joy.

    Does anyone else have this problem?

    Thanks in advance!

    If there is no quiz in the project I just usually put the Quiz > settings for:

    Representation of State = incomplete - pass/fail

    Success/completion criteria = slide views (and game display the percentage to something that is guaranteed to the user)

    Leave quiz went unselected (since there is no quiz.

    Data to report = percentage (which is actually a bit meaningless if there is no quiz)

    In SCORM cloud I always get the achievement and success of this way.

  • Follow-up SCORM still works when a course is published as an application in Captivate 9?

    I need to know if developed in Captivate 9 and "Published in devices (app)" will still follow in a SCORM 1.2 LMS?

    No, they won't.  You need to publish as Zip SCORM files, which aren't actually HTML5 apps.

  • Videos YouTube in Captivate-published files are now grown on the right side. Resolution?

    I already have the Captivate files eLearning modules and published using SCORM in my LMS. The files were fine. When I saw yesterday all the YouTube embedded files are truncated on the right and have 'dead space' on the left. It's as if they all are moved to the right. I have seen discussions on changes to the YouTube videos with the YouTube result does not. My question is a little different because the videos are present, but cropped. Also, the lower bar is part and I need it for viewers turn on the closed captioning (a large part of my audience is deaf).

    Is there any solutions for this? (Note that I have not access to a video server).

    Thank you

    Mary

    HI, Mary.  Jump again, site of Captivate said that HTML5 output is no longer supported in Internet Explorer 9 or later, Safari 5.1 or later, and Google Chrome 17 or later.  Although not listed do not, the new Microsoft Edge works very well, too.  I find that older versions of browser are disappearing, but some of the less tech savvy people I work with are still using IE 8, so I suspect that it is perhaps a question based on your description of your target audience. In addition, the HTML5 version works fully in Firefox, the latest version, which is the main reason I publish in swf and html. I have fortunately only publish in html and encourage users to update their browsers, if it wasn't for Firefox problem.

    Of course, knowing this does not solve the problem.

    Chris

  • Creating advanced with overview areas actions

    Hi all

    I created the advanced actions with click areas, once all the areas clicked, my next page button appears correctly on the slide

    I did the same with areas of rollover slidelet, the next page button does not appear...

    Actions avancées B10 p1Capture.JPGActions avancées B10 p2.JPG

    information entered on each script created.

    Once the module scorme and placed on my LMS, not just the next page button does not appear, but the green check marks appear or not, it's pretty random.

    Are there things that I forgot to do?

    Second question:

    The result is different depending on the Conference of the slide: playing on .cp, playing on .exe, playing the scorm on the lms, you have the same results?

    Pour your information, I'm the of am trained on job, the manual of Captivate is indigestible.

    Thanks to all in advance

    JJ

    Hi all

    I created, with advanced Actions, click boxes, once clicked on everything, my next page button appears correctly on the slide

    I did the same with rollover slidelet areas, the next page button does not appear...

    First minidiapo Overview: (photos above are in French, sorry) :-)
    Condition: If rollover_slidelet_1 is 0

    Action: Assign rollover_slidelet_1 is 1
    coche_verte_10 display (display of the preview)

    2nd view minidiapo of all:
    Condition: If rollover_slidelet_2 is 0

    Action: Assign rollover_slidelet_2 is 1
    See the coche_verte_11

    even on 13 rolling minidiapo

    second page:

    If all are rollover_slidelet 1
    : Icons display (next page)
    Click the display area (go to the next slide)

    information on each script created entries.

    After scorme and place my module LMS, not only the next page button does not appear, but the green check marks appear or not, it's pretty random.

    Are there things I forgot to do?
    The result is different depending on playback of the slide: playing on .cp, playing on the .exe, scorm playing on movies, you have the same results?

    For your information, I trained on the job, the manual of Captivate is indigestible.


    Thanks in advance to all


    JJ

    Groups are useful pour organiser the 'calendar' but they can also be used for certain actions: on can show/hide a whole group.

    I don't see audio to the diameter in this case here this long duration of the slide is not necessary at all. As the 'head' stops at the break of the click box there is no reason to extend this slide to dry 10. A duration of 3-4secs would have been sufficient. The button should not be delayed, the everything since it is hidden time until the second condition is met. As I'd already music Personally I would have replaced the first nominal condition 'If 1 is equal to 1', it is not necessary to make a true condition.  In this case it will be even recommended pour allow reloaded UN click chest more than once. But a large order is missing in the 1st decision:

    Zonex with 1 capacity



    I copy the 1st decision of a previous response:

    IF 1 is equal to 1

    Capacity v_one with 1
    View Coche_verte_10

    Go to slide x

  • Server connection

    Hi, I'm try to understand How to create an account connect Pro Server.
    Basically I am considering Presenter 11 . before buy you and I feel packages . export. It seems that the program exports only account SCORM Connect Pro Server.
    How should I proceed.
    Thank you

    It has three options for publishing: locally on your computer, directly to an Adobe Connect Server, or locally in PDF format. If you are not looking to publish to a Connect Server, you will need to publish locally (probably as a zip to make it simple) and then download this zip on your server of your choice.

    As regards taken statement standards supported: Adobe Presenter 11 - features

    Export the data rating leading SCORM and AICC LMS compatible Tincan.

  • Splitting of a project

    I have exceeded the recommended number of slides in my Captivate project (I have 230). I believe that most of the random problems I'm having are due to the size of the project. What is the smart way to this split between the separate modules?  BUT being able to publish a single (or related module). It must be published to a SCORM 1.2 LMS as a single module.

    Thanks for your suggestions.

    Nadeem

    If you separate it you find yourself with several modules, unless you use SCORM Packager.

    Not sure that this is due to the size of the project, and the size depends not only on the number of slides at all. Audio (and quality), video (if incorporated), resolution, too many variables and advanced actions (shared actions do a better job), a lot more done to make a project unmanageable.

  • Alternate slides with JavaScript (or advanced Actions)?

    I was wondering if someone out there with the knowledge of JavaScript could help me a little...

    A colleague came to me with a question about randomization of the slides. We work in Captivate 5.5. The slides are all part of a quiz (but aren't question slides). They have a click box. The idea is that if the user clicks on the box (or off the beaten track), it shows a good (or bad) legend and then jumps to a random slide (new). If the user manages at the end of the slide without selecting anything, their time is running out and they get fried to a random slide and it is regarded as an incorrect answer. The user should see all of the slides in random order, with no recurrence.

    I created a tip Action, integrating the widget of random number, and it works. My problem is that the project has 50 blades, and I'm not sure it is very feasible with advanced Actions. As it is, my test with 3 random slides is an action with 4 conditional statements, so I'm not really looking to create one for 50 slides. (I don't know even if Captivate would be able to handle this).

    Is there a way (judging) to achieve with JavaScript instead? My vague idea based on my very limited knowledge of programming is:

    1. on enter first Captivate slide, create the array of random slides - 1 slide numbers (because cpCmndGotoSlide index starts at 0)
      so if I had a project where I wanted to shoot random slides 3-8, the would be [2, 3, 4, 5, 6, 7]
    2. Shuffle/random table
    3. set up a variable called slideviews = 0 to keep track of how many slides have been seen (and so which item in the table to move to the next randomly)
    4. Create a function that I'm going to run when I want to access a random slide (whether at the end of a slide or in the success or failure of a click on a square)
      something like... If slideviews < array.length, cpCmndGotoSlide = array [slideviews]; slideviews ++; Another thing, cpCmndGotoSlide is 8 (jump at the end of the slides)

    Of course, this lack of things (like the proper syntax and things needed to communicate with captivate)... but is sound logic? Is there a better way to do it?

    Come to think of it, the table and the slideviews variable should be saved if we wanted it works with bookmarking... I think that this project will be SCORM 1.2 LMS System.

    It would be nice to have a variable user I can access within the Captivate project and I can put in a legend to show the script #. Something like scenario = slideviews (I know that's not the syntax, reading series of JavaScript of Jim Leichliter on CaptivateDev.com, but that's the basic idea.)

    Anyway, pointers would be very useful! Thank you.

    Edit: I played a little bit; for randomization, I found a code online, and then I wrote something that automatically creates a table and a function for the jump to a slide randomly. Here's what I have so far (not tested in Captivate yet):

    var objCP = document.Captivate;
    
    var randomNumbers = []; 
    
     // The following creates the values for the array: 3 to 52.
     // I want to randomize slides 4-53, using cpCmndGotoSlide (index starting at 0) to jump to them
    
    for(i=3; i<53; i++) {
                        randomNumbers[i-3] = i;
    }
    
    var n = randomNumbers.length;
      var tempArr = [];
      for (i = 0; i < n-1; i++ ) {
        // The following line removes one random element from arr
        // and pushes it onto tempArr
        tempArr.push(randomNumbers.splice(Math.floor(Math.random()*randomNumbers.length),1)[0]);
      }
      // Push the remaining item onto tempArr
      tempArr.push(randomNumbers[0]);
      randomNumbers=tempArr;
    
    var slideViews = 0;
    
    var randomSlide = function() {
    if (slideViews < 50) {
                        objCP.cpEISetValue("cpCmndGotoSlide", randomNumbers[slideViews]);
                        slideViews++;
                        objCP.cpEISetValue("scenarioNumber", slideViews);
              }
              //after all the slides have been seen, jump to the final results slide
              else {
                        objCP.cpEISetValue("cpCmndGotoSlide", 53);
              }
    };
    

    I doubt it will work off the bat, but maybe this is a beginning?

    I managed to get things working, so I thought I'd post my (probably a little unwieldy and inefficient) code in case people come across this thread and want a starting point:

    var objCP = document. Captivate;
    var randomNumbers = [];
    var slideViews = 0;
    CVS var = 0;

    shuffle var = {function (array)}
    var m = array.length, t, j;
    so that {(m)
    j = Math.floor (Math.random () * m-);
    t = array [m];
    table [m] = array [j];


    table [j] = t;
    }
    };

    var jumpSlide = function() {}
    If (slideViews < randomNumbers.length) {}
    objCP.cpEISetValue ('cpCmndGotoSlide', randomNumbers [slideViews]-1);
    slideViews ++;
    objCP.cpEISetValue ('scenarioNumber', slideViews);
    }
    else {}
    objCP.cpEISetValue ('cpCmndGotoSlide', 52);
    }
    };

    var randomSlide = function() {}
    If (g_objAPI.LMSGetValue ('cmi.comments') = ") {}
    for (i = 3; i < 53; i ++) {}
    randomNumbers [i-3] = i;
    }
    Shuffle (randomNumbers);
    g_objAPI.LMSSetValue ('cmi.comments', randomNumbers);
    resume ++;
    jumpSlide();
    }
    ElseIf (resume = 0) {}
    randomNumbers = g_objAPI.LMSGetValue('cmi.comments').split(',');
    slideViews = objCP.cpEIGetValue ('scenarioNumber');
    resume ++;
    jumpSlide();
    }
    else {}
    jumpSlide();
    }
    };

    The random slide order is stored in cmi.comments, and the position in the sequence is stored in a Captivate variable called scenarioNumber. I could have stored the two variables of Captivate in cmi.suspend_data, but in the end, I liked being able to see the numbers when considering the SCORM data. To work around problems with initialization, I made the creation/restoration of the part of random numbers of the function which climbs to a slide randomly, so nothing is actually executed when entering the first slide.

  • Quick Noob Q: how Captivate persists user session info

    pls forgive this noob question, but I tried to find this info in the docs with little chance

    can Captivate don't forget when the user is in the session if they leave and come back another day? This includes questions answer/not yet answered, Yes?

    is that what comes in the Connect Pro Server (formerly a Breeze server?)?
    -or-
    is there some hooks (bridge or JS/Flash webservice calls) so you have to build a layer of persistence of record when the user returns to or what they said so far?

    I found interesting things on the interoperability of SCORM, but seemingly finished/not finished/total score quiz things, of not not persistent sessions... (or am I wrong - SCORM uses the LMS - Blackboard in my case - remember where they are up to)

    Thank you very much

    Barry.b


    thanx
    Barry.b

    Quick answer: Yes, Captivate can go back to the last slide visited - but only if:

    (1) you select 'Exit e-learning' (for SCORM or AICC), and
    (2) content Captivate is loaded in and through an AICC-SCORM compatible or learning (LMS) access management system.

    LMS relevant variables that contain data are "bookmarking":
    (1) cmi.core.lesson_location (last slide read, in the case of Captivate)
    (2) cmi.core.lesson_status (pass/fail/incomplete, etc.)
    (3) cmi.core.suspend_data (usually a string of variables necessary to update a 'session' carefully, as previously entered text, etc.)

  • Projects not opening



    Some background first... I work in Captivate 2 develop a tool of e-learning for my business. This tool will be delivered via SCORM 1.2 LMS society uses. I'm new to Captivate and spent 4 weeks on this project.

    I have nothing to do with the administration of LMS, I developed the tool only in Captivate, then I will present the SWF file to the administrator of our LMS.

    Well, I'm remote so I have been developing these projects and upload the SWF file to Adobe Connect Enterprise Server to provide a link for my end users, so they can review and validate the changes to me. It worked without problem and after 4 weeks, I finished in development is about to record audio and have hit a snag. So far I've sent their project into TWO parts (TWO projects Captivate). Let's say that part I and part II.

    I put the end of project preferences to open part II in the Curent window, then the user is redirected only. When I publish the project to open the file SWF II part, part, I turn, but the second part does not open? I've tried everything I can think of, and I am redirected to Adobe Connect Enterprise saying file not found.

    Then I tried to link the part II HTML file (instead of the SWF zip file) and it works, but it of only because it's on my computer and the default HTML on my hard drive. When I download the file to Adobe Connect enterprise and run the URL, part II will still not come, but no errors, apparently not even to try to open something. I also tried to include the whole of part II Zippes with the part I have files, zipping them together and to download Adobe Connect Enterprise in this way, and that has not worked. What should I do? How make sure that the output file contains everything there need to get content to open as it is put in place?

    Mel

    I feel stupid. Not sure why it is not in my brain to use the URL for the downloaded project. I downloaded the PDF and friendly for Adobe Acrobat Connect Pro and then used the URL to bind.

    I think that when we download this in our LMS, we find, we just have two projects and a menu, but at least for the purposes of the review I can now operate in Acrobat Connect Pro. I tried to use the direct path to SWF or HTML, and of course, he did not because it was not uploaded to the server. It must be a direct path to the project/file on the server.

    Yet once, feel stupid. It is sometimes really K.I.S.S.

    Thanks... mel

  • Captivate and follow-up PLMS

    Since last week I tried to publish a SCORM 1.2 Captivate on our PLMS package using various parameters on the reports tab in Captivate. I can't find a way for triggers, the following variables in Captivate.

    CMI.completion_status = unknown
    CMI.success_status = unknown

    Thank you


    hxdabbas,

    SCORM 1.2 packed do NOT "ci.completion_status" or
    'cmi.success_status '. Here are the values of SCORM 2004.

    Generally, for the follow up of the LMS - you must:
    -Include at least a traceable object in your file (e.g., Captivate
    question, clickbox, button, text input)
    -Enable the LMS followed in the Quiz Manager (targeting SCORM, in your case)
    -Post your file (and make sure that the files as the IMSManifest.xml file; a number)
    XSD files and a folder of scorm_support have been published)

    Did you do these things?

    Import you your file PLMS? What was the result? Is PLMS a SCORM
    2004-compatible LMS?

    Kind regards

    Andrew

  • Unique name for the SCORM content downloading 3rd party LMS

    I use a 3rd party LMS and trying to download content.  I publish the release without any problem, which creates a file filename.zip.  Regardless of which is the file name, when I go to browse by transferred in the LMS, the name is always "ADOBE_PRESENTER".  That's why I have a lot of different packages that all look the same.  Is there a setting in the host that can be done that will make this unique name?  I talked with the support staff to our LMS, and they said they did not have this problem with other guests.

    Hi Michael,

    In this case, it is really hard to determine what information is the LMS pick up to name the course.

    If we could get the information of LMS, which file is that it uses for naming during output zipped folder, we try to look into this.

    In addition, generally we have always the ability to rename our classes uploaded to the LMS. For example. When the publication of an LMS as scorm cloud, the downloaded course is always named as Adobe_Presenter and users generally rename their courses to keep track.

    Please mark this answer as correct if you find it useful.

    Let me know if you need additional assistance.

    Kind regards
    Zeeshan Hussain

    Adobe Presenter Engineering Team

  • A SCORM for LMS package load error

    I had problems with some of my projects.  The first clue comes when I'm about to publish the SCORM package, take a look at the picture:

    pg 000619.jpg

    The details of the Information on projects (most of them) have disappeared.  If I clicked on "Préférences."... ', the details would be when I come back to the screen.  The package is generated without any problem, and it seems that everything is ok.  However, whenever I try to download the package to our LMS, I get this error:

    pg 000620.jpg

    Have you ever seen / experienced this problem before?  I'm looking for some advice that could possibly prevent me from re - working a few modules.  I use 7 Captivate.

    Thank you! JM

    You have special characters in the title?

    Have you checked line 91 in any file, the error refers?

    It references the imsmanifest.

Maybe you are looking for

  • CyberLink PowerDVD 12 read error

    I have a computer laptop 15-g094sa HP with Windows 8.1 (64 bit) and for all of my day yesterday, I spent time trying to do my job of PowerDVD 12 . Some time ago I wanted to watch a DVD, and when it came to the language selection screen and frozen jus

  • R.I.P. E270? -Headphone Jack short

    Hi all My e270 has a short circuit in the headphone jack and the left channel is missing, unless I have move the plug.  I called Sandisk support to see if I could get it fixed, and what it might cost, but they don't fix them and recommend either to r

  • Special characters of POST - JSON - XHR

    Hello. I tried to send the JSON data via XHR POST. The XHR POST, I put a setRequestHeader as follows: xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); By default, this should work and it works, but if sending

  • How can I get my photos transferred from the SD card in Windows 7?

    Useally on Vista, just a window with options, no options are given in my Windows 7 I installed Windows Live Essentials, go to Gallery by clicking on the transfer does not work either, it not works for click transfer in Picasa-photogram All I want is

  • Green light for blackBerry Smartphones keeps flashing

    Have a Curve 8330 with Sprint service. I tried several things to get the green light to stop blinking... remove the battery, remove the SD card, charging full, turned on/turned off/turned on, deleted messages, allowed out emails, etc..   Randomly, he