Skip to main content
Known Participant
September 28, 2015
Question

Variables not persistent between login for the same user

  • September 28, 2015
  • 2 replies
  • 517 views

The course is hosted on SharePoint2010 and the only way to resume where the user left was to check the appropriate box in the TOC set up.

The course was originally build in Captivate 7 and Upgrade to Captivate 8 for the completion of the project.

The current flash plugin is .

Also the course uses variables to track progress on a main menu. The TOC behaviour is normal and the user is prompted to resume where he left, everything works but as regard the MAIN Menu that does not work when I close my browser and return the tracking of the variables does not work.

My variables track the current completion status of this module. Default values are Not Attempted, Incomplete, Completed. The image shown is an empty battery when the variable is Not Attempted, the orange battery is shown when the status is Incomplete and the image is a green battery when the module is Completed.

For example

I completed Module 1 and clicked on Module 2, started module 2.  Clicked on the TOC to manually check progress indicators, everything is OK. I get my green battery (completed) for Module 1 and my orange battery for Module 2 since I started it. (See first image).  If I do not close my session in Internet Browser, my tracking is kept.

But when I close the browser and start again and say YES I want to resume where I left I go back to my Menu Slide (this where I left when I check by progress bar) and all my battery indicators green and orange are back to their initial state. (Image 2)

What I am missing in code in my Advanced Actions.

If the resume function works well how can I make my Variables stick between session

Image 2

This topic has been closed for replies.

2 replies

softclicAuthor
Known Participant
September 30, 2015

Hello Rod,

Thanks for the reply.  Since I do not know action script and javascript. Can your company assist me in completing that task.  Have you done it in the past?

I have purchased few ebooks from your company and few widgets.  Can you reply on my corporate email to give me an estimate for your assistance. There is 8 variables that are tracked.  carole.emard@softclic.com.

Widget King
Inspiring
February 3, 2016

Hi softclic,

If you're exporting to HTML5, then our new CpExtra widget should be able to help you. It allows you to create Captivate User Variables which are saved in the browser's local storage.

Have a look at the section of the widget's help that deals with it: http://www.infosemantics.com.au/adobe-captivate-widgets/cpextra/help/data-persistence

It's really easy to do, basically all you have to do is create a variable with 'ls_' in front of its name. So variables like: ls_userName, ls_userRole, ls_userScore, ls_userCompletedModule1Percentage will all be stored and recalled automatically from the browser's cache.

Tristan,

RodWard
Community Expert
Community Expert
September 29, 2015

What you're missing is that Captivate offers no default way to store data from variables locally on the users machine.

If you want to do this you would need to program such functionality either using ActionScript to create Shared Objects (Flash Cookies) for SWF content, or use JavaScript to save data to Local Storage in HTML5 content.

The Self-paced Learning bookmarking option that you turned on in the Skin Editor will not automatically save your custom user variables for your custom menu slide.