Copy link to clipboard
Copied
I'm creating a tutorial that we anticipate our users will use multiple times, but that I'd like the tutorial to function differently after its first use. Here's how I'd like it to function:
1. User opens, enters their name, and the completes the tutorial the first time. Once the tutorials is completed, it closes automatically.
2. User opens the tutorial for a second time. On this second (and subsequent) use, (a) the tutorial remembers the user's name and (b ) the tutorial shows the TOC so the user can skip ahead if needed.
The problem here is I'm having trouble getting the tutorial to remember variables that have been assigned during the first use in the second and subsequent use (e.g., the username variable). We're adding this tutorial to our LMS so the system knows that the user has already completed the tutorial, but I can't get Captivate itself to remember those variables that were assigned in the first use.
Does anyone know if this is possible and how to achieve it?
Beth
Copy link to clipboard
Copied
You have to store the values of the variables in Local Storage. This can be achieved using JS (see Learn about the Common JavaScript interface for Adobe Captivate ) or for the lazy people like me with the CpExtra widget by InfoSemantics. That widget is not included with Captivate, but has so many features that I recommend it for any Captivate developer. Beware: only for HTML5 output.
http://www.infosemantics.com.au/adobe-captivate-widgets/cpextra
Copy link to clipboard
Copied
Fantastic, thanks so much! I figured there had to be a solution but was spinning my wheels.
I'm using another InfoSemantics widget in this project, so HTML5 output is what we'll be using anyways. I'll take a look at the widget!
Beth