Using the system variable cpInfoQuizAttempts

My content is run through an LMS. I am trying to used advanced code using the system variable cpInfoQuizAttempts so that a caption appears when the variable value = 3. Apparently, I can't utilize the value of this variable; in fact, I can't even display it's value in a caption. I am trying to create advanced code on a course page that displays a caption like "You canot take this quiz again because you have already taken it the maximum number of time possible." once someone has taken the course the maximum number of times.  I assume this is the variable Captivate is using to show # attempts on the results page. I tried this with just a user variable but the value of the user variable is not stored or saved on the LMS. Therefore, if you have a maximum number of 3 attempts and someone takes the quiz twice, if he logs off and logs back on, the previous value (2) is not saved and the value reverts to the default (0).
Any ideas how this could be done?
KO

I'm pretty sure that all user defined variables are saved in suspend_data in the LMS. Therefore your user defined variable should be there, but I don't see any way how Captivate would be able to retrieve it again out of the box.
I think that the cpInfoQuizAttempts variable refers to attempts done in the same "session". So if fail the test and then retry and fail it would have a count of 2. However, once the user exists the course the variable is no longer available to Captivate.
As Rick said most LMS' have a function to define max / min attempts of a quiz. However, this most likely requires that you publish the quiz as an independant SCO since the "lockout" would apply for that SCO. Basically if you only have one SCO then your users wouldn't be able to access the content or the quiz if they exceded the max attempts. Your content should therefore be one (or more) SCO(s) and your quiz one separate SCO.
If I'm not mistaken it's also possible to define the max / min attempts in the SCORM manifest, but this is very geeky.
If you own and can use Flash you could solve your problem two ways:
1. Create a Flash file that retrieves the user defined variable from the LMS suspend_data and then sends that back into Captivate. Import the Flash file into your Captivate project.
2. Create a Flash file that stores and retrieves the attempts in a Shared Object on the users PC and then brings the stored value back into Captivate. Import the Flash file into your Captivate project.
/Michael
Visit my Captivate blog with tips & tricks, tutorials and Widgets.

Similar Messages

  • Problem in picking the system variable value in Calculation Script

    Hi All,
    We are using a Calculation Script to perform data export. And the target location where to crete the exported output file is given to the environment system variable.
    Now I am using this system variable in the calculation script as below:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportOverwriteFile ON;
    Fix ( &CurrMiles, &CurrProj, &CurrVer,"No Project","No Version")
    DATAEXPORT "File" " " $DEXPORTPATH;
    ENDFIX
    Here "DEXPORTPATH" is the system variable
    I am creating this system variable from the batch script and the system variable value varies at the runtime.
    This calculation script works fine for first time and it picks the correct value from the system variable.
    But the problem occurs from next execution of calc script. Even if i update the system variable with other value, it picks only the last execution system variable value and it performs execution.
    Eg: Suppose for first execution system variable value is "D:\Bkup\PMV.txt"
    The calc script works fine with this.
    For next execution, system variable value is changed to "D:\Time\temp.txt"
    Now the calc script picks the system variable value as "D:\Bkup\PMV.txt"
    and performs execution which is wrong.
    Please help me on this issue how to handle system variables in calc scripts.
    Thanks in advance
    Regards
    Swathi

    811829 wrote:
    Hi All,
    We are using a Calculation Script to perform data export. And the target location where to crete the exported output file is given to the environment system variable.
    Now I am using this system variable in the calculation script as below:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportOverwriteFile ON;
    Fix ( &CurrMiles, &CurrProj, &CurrVer,"No Project","No Version")
    DATAEXPORT "File" " " $DEXPORTPATH;
    ENDFIX
    Here "DEXPORTPATH" is the system variable
    I am creating this system variable from the batch script and the system variable value varies at the runtime.
    This calculation script works fine for first time and it picks the correct value from the system variable.
    But the problem occurs from next execution of calc script. Even if i update the system variable with other value, it picks only the last execution system variable value and it performs execution.
    Eg: Suppose for first execution system variable value is "D:\Bkup\PMV.txt"
    The calc script works fine with this.
    For next execution, system variable value is changed to "D:\Time\temp.txt"
    Now the calc script picks the system variable value as "D:\Bkup\PMV.txt"
    and performs execution which is wrong.
    Please help me on this issue how to handle system variables in calc scripts.
    Thanks in advance
    Regards
    SwathiAs of my knowledge system variables will not update immediately...you need to log off the session after changing the value.
    Update the system variable..
    Log off from the session..
    And Re-login with the same username ....and check...
    Regards,
    Prabhas

  • What is the system variables of document number in General Ledger PLD?

    Dear all,
    Would anybody kindly tell me what is the system variables of document number in General Ledger Print Layout Designer?
    The default print layout use transaction number (system variables 272), however, my client wants document number to be displayed in the transaction number column.
    Regards,
    Simon Chiu

    Hi
    The only list available for Supported variables is for the version 2007A and for some specific localizations like Brazil and India.
    For the 2007A version the list is available in the following link:
    http://service.sap.com/smb/sbo/pld
    'How To Use the PLD Variables File in Release 2007 A '
    But in general the variables are for documents not for reports.
    In this case I believe there's no variable and you may need to fill a requirement in the Forum for that.
    Paulo Calado
    SAP Business One Forums Team

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

  • I installed bootcamp but became a pain to use so I unistalled it. Now every time I turn my Macbook pro on it keeps asking me what startup disk to use. I tried using the system preferences to correct this but it hasn't worked. Can someone help

    I installed bootcamp but became a pain to use so I unistalled it. Now every time I turn my Macbook pro on it keeps asking me what startup disk to use. I tried using the system preferences to correct this but it hasn't worked. I even restored my mac back to factory settings but it still asks me what startup disk to use. I have looked everywhere for a solution but one anywhere

    Delete the System Preference .plist file (preference file) and when rebooting and #2 Reset the PRAM
    Deleting the System Preference or other .plist file
    ..Step by Step to fix your Mac
    Then head to System Preferences > Startup Disk and select the OS X volume to boot from.

  • HT201250 I had to replace the hard drive in my old MacBook. I replaced it. Installed OSX10.6. Then using the system software I reinstalled data from my Time Machine backup. On completion it asked for my password. It is not accepted. I am locked out how I

    I had to replace the hard drive in my old MacBook. I replaced it. Installed OSX10.6. Then using the system software I reinstalled data from my Time Machine backup. On completion it asked for my password. It is not accepted. I am locked out how I overcome this?
    I was already using 10.7. But only had the disc for 10.6.

    Sorry I am new to this. Am I in the right area? I am using my iPhone to make contact. I am worried.

  • I want to put windows 7 on my iMac. Do I use Windows 7, 64 bit System Builder or do I use a "retail copy" of the Windows 7, 64 bit ? Microsoft says I should use the System Builder copy. A technical support individual from Apple said use the "retail copy"

    A Microsoft technical advisor said that the "retail copy" of Windows 7, 64 bit Home Premium would not work with Boot Camp to put the Windows operating system on the IMac. She said that I would have to use the System Builder copy of Windows 7 to put it on my iMac. An Apple technical advisor told me that I had to use the "retail copy" of Window 7 because that was the one used by Apple when they developed the Boot Camp program.  I have also seen some articles from Apple that suggests that both copies of Windows 7 would work OK. Does anyone have any experience that shows which one or both I should purchase to put on my computer?

    Welcome to ASC!
    I used the 64-bit System Builder Edition when I bootcamped my 2010 iMac a couple of years ago. Worked perfectly--installed a very lean system. Without all the extra cr@pware that comes preinstalled on name-brand Win computers, the SBE OS actually works darned well.
    However, that was under Mac OS 10.6.8 which remains on that computer for compatibilty reasons not related to Windows. Haven't BCed any newer Mac OS, so your mileage may vary.

  • Help with this error message: System extenstion cannot be used:The system extension "/System/Library/Extensions/AppleACPIPlatform.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.

    I have this error message:
    System extension cannot be used
    The system extension “/System/Library/Extensions/AppleACPIPlatform.kext” was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.
    Please help. Is there a update or how do I reinstall?
    Thanks,
    John

    I submitted the above question, later finding that it has been answered by Buller already.  No one need reply as Buller's answer seems to solve the problem for others, and I'll try that.
    Jim

  • [svn] 4267: Change path to Assets.swf in eclipse . project file from full hardcoded path to use the FLEX_SDK variable as the base path .

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

  • How can i transfer the system variable value through DTW in SBO

    Hi,
    I want to transfer the system variable("Excisable" in the Item master data in the SBO 'India' database) value through the template by the DTW.
    But i don't have any template consisting of this system variable.
    So please suggest me that how can i transfer the value of this system variable(Excisable) and by which template.Please tell me any constraint if it is on the value of this variable.
    I will be very thankful to you.
    Thanks & Regard,
    Sandeep
    Message was edited by:
            Marc Riar

    Sandeep,
    This question has come up several times on this Forum.
    Please read this read.
    Importing excisable item
    Suda

  • How can I use the system clock.

    My java program need to use the system clock to initiate some functions. Is there a method to do this or do I need to create one ??
    Any help appreciated.

    The following article will likely contain information useful to you:
    Working in Java time: Learn the basics of calculating elapsed time in Java

  • To use the form variables in a workflow

    How can we use the form variables in the workflow..How will we refer the variables?Simply referring by name not working.

    hi,
    you can use the form variable by define the field name like this in ur form:-
    <Field name=':variables.fieldVariableName'>
    <Display class='Label'>
    <Property name='title' value='XYZ'/>
    </Display>
    </Field>
    and u can access this variabe simply
    <ref>fieldVariableName<ref>
    in ur workflow.
    thanx
    shant

  • I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    You should have bought one with a larger SSD. You can regain some space by disabling the sleepimage file:
    To disable safe sleep, run the two following commands in Terminal:
    $ sudo pmset -a hibernatemode 0
    $ sudo nvram "use-nvramrc?"=false
    When done, restart your computer. Now go delete the file "/private/var/vm/sleepimage" to free up some hard drive space. When you put your computer to sleep it, should happen in under five seconds; my MacBook now goes to sleep in two seconds.
    [robg adds: To state the obvious, with safe sleep disabled, a total power loss will wipe out whatever was open on your machine. To enable safe sleep mode again, repeat the above commands, but change hibernatemode 0 on the first line to hibernatemode 3, and =false to =true on the second line. You'll then need to reboot again. Personally, I prefer the safe sleep mode, even with the slower sleep time and hard drive consumption -- even if for no other reason than it's great when changing batteries on a flight.]
    You can also delete unneeded files:
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • What is the system variable to find the name of the current window in S.F

    hi
    what is the system variable to find the name of the current window in S.F

    Hi ,
    SFSY_PAGEWINDOW
    regards,
    Prashant

  • How use the same variable in read and write way?

    I don't know how to use the same variable in a .vi like an indicator and a
    control at the same time.
    Can someone help me?
    Thnks.

    Thanks!!!
    I'll try.
    "Adam Russell" escribió en el mensaje
    news:bkavdl$rd021$[email protected]..
    > Create local variables from the control (or indicator) and you can make
    > each local either read or write. Be careful of race conditions.
    >
    > "Urban" wrote in message
    > news:bkam3b$c4k$[email protected]..
    > > I don't know how to use the same variable in a .vi like an indicator and
    a
    > > control at the same time.
    > > Can someone help me?
    > >
    > > Thnks.
    > >
    > >
    >
    >

Maybe you are looking for