Custom eLearning and Digital Training Solutions Provider
  • Home
  • eLearning Services
    • Custom Elearning Solutions
    • Convert PowerPoint to eLearning
    • Rapid eLearning Development
    • Translation and Localization
    • Flash To HTML5 Conversion
    • Legacy Content Conversion
    • Mobile Learning
    • Gamified Learning Solutions
    • Blended Learning Solutions
  • Software Development
    • Learning Management System
    • Workforce Management System
    • Human Resource Management System
    • Bug Tracker Software
    • Custom Software Development
  • Contact Us
  • Blog
  • Search
  • Menu Menu
  • 0Shopping Cart
  • Home
  • eLearning Services
    • Custom Elearning Solutions
    • Convert PowerPoint to eLearning
    • Rapid eLearning Development
    • Translation and Localization
    • Flash To HTML5 Conversion
    • Legacy Content Conversion
    • Mobile Learning
    • Gamified Learning Solutions
    • Blended Learning Solutions
  • Software Development
    • Learning Management System
    • Workforce Management System
    • Human Resource Management System
    • Bug Tracker Software
    • Custom Software Development
  • Contact Us
  • Blog

Print Custom Certificate Using JavaScript in Articulate Storyline

custom elearning - print custom certificate using javascript in articulate storyline
Table of Contents
1 Introduction:
2 Case Study:
3 How do you create a certificate in Storyline 360 using JavaScript?
4 How do you create a HTML file in storyline?
5 How do you add a certificate to Storyline after publish?
6 Conclusion:

Introduction:

Articulate Storyline empowers custom elearning development with its engaging learning experiences, the default certificates can feel generic. This case study showcases how a custom elearning solution was crafted using JavaScript to generate custom certificates within Storyline, aligning perfectly with the organization’s branding and specific needs.

Case Study:

In a recent project, our team was assigned to develop an eLearning course for a company that needed a certificate upon completion. However, they also requested that the certificate displays the learner’s responses to different questions throughout the course.

Get in Touch
Looking for eye-catching and interactive eLearning content.

CONTACT US

We decided to use Articulate Storyline 360 for the course development and incorporate JavaScript to capture the user responses in the certificate. After some research and testing, we were able to successfully create a certificate that not only included the learner’s name and completion date but also their responses to quiz questions. 

In this blog post, you will learn a step-by-step procedure for creating a printable certificate for your Articulate Storyline course.

How do you create a certificate in Storyline 360 using JavaScript?

Step 1: Add the quiz questions in the course.

Step 2: Create the certificate design and keep it in a folder.

Step 3: Create variables for assigning the correct values for every question.

Step 4: Now, add the following triggers to the incorrect layer of every question. These variables will be accessed on the certificate page to show the user’s responses.

Repeat the steps for all the questions.

Step 5: In the result slide, after completing all the questions you need to add the following JavaScript on the print certificate button.

Step 6: To get the student name on the certificate, create a variable username or you can pull the username from the LMS.

Step 7: Now add the following script on the result slide.

Till here we have completed Storyline coding. Now, we will work on the certificate page to access the username and the correct answers.

How do you create a HTML file in storyline?

Get in Touch
Develop a customized solution that meets your organization’s training needs.

CONTACT US

Step 8: Create an HTML file with the following code.

Step 9: Now create the variable in the HTML file and add the following code which will call the Articulate Storyline variables values.

Step 10: The following code will store the value of the correct answer and hide the incorrect responses.

How do you add a certificate to Storyline after publish?

Step 11: Now publish and view the output.

Note: Make sure to create a certificate folder in the story_content folder after every publish and keep the certificate there.

Check the working demo by clicking the download button provided below.

[Download]
https://www.swiftelearningservices.com/wp-content/uploads/2021/03/Custom-Certificate-to-only-print-answered-questions.zip

Frequently Asked Questions (FAQs)

1. What is Articulate Storyline 360?

Articulate Storyline 360 is an e-learning authoring tool in the Articulate 360 suite. Known for its user-friendly interface, it enables the creation of interactive courses with multimedia elements, responsive design, assessment options, and seamless integration with other Articulate tools. Continuous updates and community support enhance its features.

2. How do you print a slide in modern player on Storyline 360?

Classic Player: To set up a print slide action in Articulate Storyline, access the trigger wizard, select the desired slide, and configure the trigger event.

When the user clicks the custom-added button, add the following JavaScript:

window.print()

Modern Player: In the latest version of storyline, you can even add a print slide trigger to a custom player tab on the modern player default, so learners can print the current slide they’re on or any slide you define, such as a certificate slide.

Referral link: https://articulate.com/support/article/Storyline-360-Print-Slide-Trigger

3. How do I export a Storyline 360 to a Word document?

To export a Storyline course to a Word document, you can follow these steps:

  1. Open your Storyline course in Storyline 360.
  2. Click on the “Publish” tab on the Storyline ribbon.
  3. The Publish window will appear, select the “Word” tab on the left-hand side of the window.
  4. Enter the title you want to appear in your Word document.
  5. Select the location on your computer where you want to save the Word document.
  6. Select the required properties and choose the screen size according to your preference.
  7. Click the “Publish” button to start the export process.

4. How to Publish Storyline 360 as HTML5?

To publish Storyline 360 as HTML5, follow these steps:

  1. Click “Publish” in the Storyline 360 ribbon.
  2. Select “Web” and then “HTML5” as the output format.
  3. Adjust other settings as needed.
  4. Click “Publish” and wait for the process to finish.
  5. Open the “story.html” file in the output folder to view the HTML5 output.

5. How to execute JavaScript in Storyline 360?

To execute JavaScript in Storyline 360, add a trigger for an event, such as slide load or button click. Then, select “Execute JavaScript” as the action and enter your code in the provided text box. This allows you to perform advanced actions, such as manipulating variables or interacting with the LMS using the SCORM API.

6. How to Integrate JavaScript with Storyline 360?

To integrate JavaScript with Storyline 360, create a new trigger and choose “Execute JavaScript” as the action. Write your JavaScript code in the “Script” text box and save the trigger to apply the code to the selected event or object. Use the SCORM API’s lmsAPI object to retrieve and update Storyline variables and communicate with the LMS.

7. How can I troubleshoot common issues with JavaScript implementation for certificate printing in Articulate Storyline?

Understanding debugging techniques is crucial. Articulate Storyline’s console and browser developer tools can help identify and fix issues. Refer to online forums and communities for solutions to common JavaScript-related problems.

Conclusion:

In the realm of custom eLearning development, Articulate Storyline 360 emerges as a robust tool for crafting interactive and captivating courses. Nevertheless, when it comes to certifying learners upon completing a course, the default certificates may not always align with the distinct branding or specific requirements of an organization. This case study delves into how a creative solution was implemented using JavaScript to generate personalized certificates in Articulate Storyline, showcasing the versatility of custom eLearning solutions.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on Pinterest
  • Share on LinkedIn

ARTICULATE STORYLINE POSTS

  • step-by-step guide to customize quiz feedback colors in rise 360
    How to Customize Correct and Incorrect Answers Feedback Colors in Articulate Rise 360June 27, 2025 - 4:40 PM
  • removing labels and numbers from process blocks in articulate rise 360
    How to Remove Labels and Numbers from Process Blocks in Articulate Rise 360June 20, 2025 - 3:07 PM
  • easy-online-course-creation-ispring-suite-swift-elearning-services
    Create Online Courses with Ease Using iSpring Suite – The All-in-One eLearning Authoring Tool for PowerPointJune 16, 2025 - 11:18 AM
  • how to adjust padding in articulate rise 360 content blocks for custom e-learning
    How to Adjust Padding in Articulate Rise 360 Content Blocks for Custom E-LearningJune 9, 2025 - 5:23 PM
  • swift elearning services focuses on crafting custom elearning courses that enhance digital learning experiences.
    How to Use Snapshots to Recover Deleted Lessons in Articulate Rise 360April 23, 2025 - 3:58 PM
  • swift elearning services provides articulate 360 localization, offering tailored elearning solutions that adapt your content for global audiences.
    Articulate 360 Localization: Create, Translate, and Manage Training with EaseApril 17, 2025 - 11:24 AM
  • custom elearning solution with jump-to-time video control in storyline 360 for interactive video navigation.
    How to Use Jump-to-Time Trigger to Control Video in Storyline 360April 11, 2025 - 10:51 AM
  • how to import slides from other storyline projects
    Articulate Storyline 360 – How to Import Slides from Other Storyline ProjectsMarch 25, 2025 - 5:52 PM
  • ohs-traffic-control-training-for-construction-workers-featured-image
    OHS – Traffic Control Training Course for Construction WorkersSeptember 9, 2024 - 5:56 PM
  • ohs-road-traffic-control-training-for-road-maintenance-workers-featured-image
    OHS – Traffic Control Work Zone Safety Training for Road Maintenance WorkersAugust 1, 2024 - 3:22 PM

Get a Free Prototype Customized with Your Content.

Our Portfolios Explore Our Extensive Collection of eLearning Courses.

GET A FREE ELEARNING SAMPLE

We transform your training material into engaging, SCORM-compliant courses.

Request a Free Sample  

Our Services


  • Rapid eLearning Solutions

  • Custom eLearning Development

  • Flash to HTML5 Conversion Services

  • Mobile Learning Solutions

  • Translation and Localisation Services

  • Gamification eLearning

Our Office Address

Asia: 704, Topaz Plaza, Punjagutta, Hyderabad, Telangana, India 500082

Australia: P.O. Box 107, Brisbane, Queensland, 4030

Canada: 750 Oakdale Rd Suite 56, North York, ON M3N 2Z4, Canada

USA: 12218 Old Gage Ranch, San Antonio, Texas 78245

Copyright ©2026 Swift eLearning Services.
  • Facebook
  • Twitter
  • LinkedIn
  • Youtube
Elearning Courses Conversion From Flash to HTML5 – Major Obstaclesconversion from flash to html5 - major obstaclesresponsive elearning courses using adobe captivate 2019 fluid boxesDesign Responsive eLearning Courses using Fluid Box Feature – Adobe Captivate...
Scroll to top