Highlighted

Pass Captivate's System or User variable to html:

Explorer ,
Oct 27, 2019

Copy link to clipboard

Copied

Just curious if anybody found a way to pass captivate's system or user variable to an html and how it can be accomplished.

 

For example:

Looking to use an html file to display cpQuizInfoPassFail variable inside it and wondering how can this be accomplished?

 

Any input is greatly appreciated.

Views

49

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Pass Captivate's System or User variable to html:

Explorer ,
Oct 27, 2019

Copy link to clipboard

Copied

Just curious if anybody found a way to pass captivate's system or user variable to an html and how it can be accomplished.

 

For example:

Looking to use an html file to display cpQuizInfoPassFail variable inside it and wondering how can this be accomplished?

 

Any input is greatly appreciated.

Views

50

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 27, 2019 0
Adobe Community Professional ,
Oct 27, 2019

Copy link to clipboard

Copied

You could move the variable value over to a GET variable and encode it in the URL that calls the HTML page:

http://www.infosemantics.com.au/adobe-captivate-widgets/cpextra/help/data-persistence

Look down to the heading about GET variables.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 27, 2019 0
Explorer ,
Oct 27, 2019

Copy link to clipboard

Copied

Hi Rod,

 

Thanks for your input.

 

That would be perfect if I was to place it on a website.

 

Currently looking to output captivates variable in responsive mode and been digging around to see if this has been done. Amazingly, there is very to no hits on how to accomplish this, which is suprising seeing that capivate has been around since 2004.

 

Btw, great product your cpextra is 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 27, 2019 0
Adobe Community Professional ,
Oct 27, 2019

Copy link to clipboard

Copied

The cpQuizInfoPassFail variable only gives you a 0 or 1 value to indicate failure or pass of the quiz.  Is that all you are trying to display or did you intend to have some other information displayed on the HTML page depending on what the value of the variable was? 

 

Is this HTML file supposed to be within the Captivate SCORM package or somewhere else, e.g. on a website?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 27, 2019 0
zMerlinz LATEST
Explorer ,
Oct 27, 2019

Copy link to clipboard

Copied

Great questions!

 

1. Is that all you are trying to display or did you intend to have some other information displayed on the HTML page depending on what the value of the variable was? 

 

- The cpQuizInfoPassFail was an example, it could also be "user" defined variable. I do intend to have some other information displayed on the html.

 

2. Is this HTML file supposed to be within the Captivate SCORM package or somewhere else, e.g. on a website?

 

- No, it will not be within SCORM package. It will be compiled and submitted through Google play store and the App Store as a mobile app.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 27, 2019 0