Can anyone help me with this - reference visibility
Aug 05, 2016
By
Sam Lincoln
I thought I was a reasonably competent user until I hit this problem. I can't resolve it and turn to my ELH colleagues for help.
I have created a SystemDate variable using Stephanie Harnett's javascript. It works fine when creating a new Storyline course but doesn not seem to function properly in the course I have created.
The problem is that either the javascript is not generating/populating my SystemDate variable and/or isn't visible when I publish the slide. I've attached images of my variables and the javascript I'm using. Can anyone identify what might be going wrong please?
7 Replies
I should add that I have already tried Phil Mayor's suggestion here but the variable reference still does not appear on my slide when published to CD or to a web server.
Have you tried adding an alert on the first slide?
At least that way you now javascript syntax is correct.
I had a quick look and looks fine, you could pop the code through an editor to see if the picks up any errors, also you could put an alert at different stages in the code to see where it breaks down.
Thanks for the quick response Phil. I'll try the alerts method of diagnostics.
I've also had a horrible thought that I may, at some stage during production, worked via a shortcut on my desktop to the file in Dropbox and this may have corrupted the file (duh!).
I always work via dropbox shouldn't be a problem.
Matthew, I'm uploading it to a web server. But see my response to Phil .... I think I've been an idiot!!!
Sorry for the long delay before an update. The problem has solved itself! I did not do anything to adjust the variable or the javascript entry but, after working on the course for a while, it magically started working properly. Sometimes it seems you just have to let things be and the Storyline Fairy will visit!
Well that's great news for a Friday Sam! I am glad to hear it's resolved itself and if you run into issues again, feel free to reach out here and you may also want to look at including a copy of the .story file so that folks in the community can weigh in and offer specifics ideas on your set up.
This discussion is closed. You can start a new discussion or contact Articulate Support.