Certificate of Completion

Oct 24, 2018

Hi All,

 Is there a way to create a certificate of completion with the users name without having to use code? Thanks in advance for any assistance. 

 

 

3 Replies
Sanduni Fernando

You can get the user's name from LMS using javascript;

"newName" is the variable created in storyline to receive the name in below example.

 

var player = GetPlayer();

function findLMSAPI(win) {
// look in this window
if (win.hasOwnProperty("GetStudentID")) return win;

// all done if no parent
else if (win.parent == win) return null;

// climb up to parent window & look there
else return findLMSAPI(win.parent);
}
var lmsAPI = findLMSAPI(this);
var myName = lmsAPI.GetStudentName();
var array = myName.split(',');
var newName = array[1];
player.SetVar("newName", newName);

Nancy Woinoski

You could create a certificate on a slide in Storyline and have the user print the screen.

At a minimum, you will need to use a variable to capture and display the user's name on the certificate. 

If you want to make this a bit more sophisticated, you could follow the instructions in this post to add functionality that enables the user to print the certificate. https://community.articulate.com/discussions/building-better-courses/print-anything-in-storyline

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