Place variables into the report.html file

Jul 16, 2013

I have some variables which include name and address. I would like to have these displayed on the report.html file.

Is there a simple way of doing this?

Or even a hard way of doing it.

Also is it possible to print out or save the report.html file?

Many thanks in advance

1 Reply
Bryan Bugslag

As far as displaying goes I did the following. 

I had created two variables, CourseTitle and CourseCode, and I wanted to access them from the report.html file so I added the following code within one of the tags. I choose the one that is just after the tags. 

var player = window.opener.GetPlayer();

var course_title = player.GetVar("CourseTitle");

var course_code = player.GetVar("CourseCode");

What this does is grab the variables that you created and you can now use them to display. Example below.


" + course_title + "


I hope this helps. I'm new to Articulate so I am still just learning.

This discussion is closed. You can start a new discussion or contact Articulate Support.