Storyline 3 Execute Javascript Button Not Working Consistently

Jan 31, 2018

We are in the process of upgrading courses over to Storyline 3, from Storyline 2, and are encountering an issue within the 1st course we have converted over.  The course is published to the web.

The problem is encountered when clicking the 'Get Certificate' button when a customer completes a quiz.  The button shows when the quiz is passed through a 'Success' layer.  When the customer clicks the button, through an Execute Javascript Trigger, the customer should be brought to a page where he/she can generate their certificate.  This work fine in SL2.  Now, in SL3, the customer is brought to another page on our site.  All settings are the same in the SL files between 2 and 3.  It seems to happen to most users, but not all, and across different browsers.  However, we can not replicate the problem and are able to generate certificates fine.

We wrote some customer code for this trigger to reference and to propagate the correct customers info on their certificate of completion.

Is there some issue or change in SL3 that could be causing this?  How can it be fixed?

2 Replies
Katie Riggio

Hi there, Niall!

I'm sorry to hear that some of your learners are unable to generate a certificate. While we don't offer support for JavaScript (the code itself), we still want to help out in any way we can.

A couple of questions for you:

  • You mention that some learners are brought to another page when accessing the Storyline 3 file, can you let me know what they see on that page?
  • Are both files hosted on the same web server?
  • If you think something changed in Storyline 3, as the code works in Storyline 2 – we'd be happy to take a look at both files to try to recreate the issue on our end. If you're able to share them publicly, you can add the files as attachments right below. If you prefer to send the files privately, you can share them directly with our Support Engineers here.

I also recommend sharing the code here with the community, so that they could review it and offer any ideas.

I'll be standing by!

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