I've got a project which will involve rolling out the same quiz to an audience periodically.
Our tracking systems (LMS and some homebrew) use the course code to determine which course a score belongs to. We'll need to change the course code each time, but nothing else will change. I'm hoping not to have to republish each time just to change the value of a single variable.
Is there a way that I can change the value in the published output instead?
If it makes a difference, we're using SL360 and publishing for AICC/HTML5.
I haven't seen a method to change a single variable value in the published output, but it's outside my area of expertise as well. It may help our community of experts if you can share a bit more on where the variable value is set initially! Then they can help track it down in the published output.
In HTML5 output, there's a file called data.js in html5\data\js.
Inside that file, it looks like we have all kinds of things we can mess with, including variables. For example, the one I was looking for in my output is: {"kind":"variable","name":"ccode","type":"string","value":"USA864","resume":true},
We can see it's a variable called "ccode". It's a string with a default value of "USA864". I don't know what the resume tag is for, but all I wanted to do is change the value without republishing and it looks like I should be able to. :-)
Glad you found what you need, Simon! Always be careful with modifying things in the published output and fully test it before you share with your learners...just in case. 😉
3 Replies
Hi Simon,
I haven't seen a method to change a single variable value in the published output, but it's outside my area of expertise as well. It may help our community of experts if you can share a bit more on where the variable value is set initially! Then they can help track it down in the published output.
I think I just found it.
In HTML5 output, there's a file called data.js in html5\data\js.
Inside that file, it looks like we have all kinds of things we can mess with, including variables. For example, the one I was looking for in my output is:
{"kind":"variable","name":"ccode","type":"string","value":"USA864","resume":true},
We can see it's a variable called "ccode". It's a string with a default value of "USA864". I don't know what the resume tag is for, but all I wanted to do is change the value without republishing and it looks like I should be able to. :-)
Glad you found what you need, Simon! Always be careful with modifying things in the published output and fully test it before you share with your learners...just in case. 😉
This discussion is closed. You can start a new discussion or contact Articulate Support.