לוחות מודעות לוחות מודעות

חזרה

Splitting Text from LMS

מתג
Splitting Text from LMS
תשובה
14:47 16/02/21
Hello Smartbuilder Team!  
I'm working on a project and would like our users to be able to print (or save as pdf) a completion certificate.  However, I'd like the name to be pulled from the LMS which I figured out how to do.  When the name is pulled, though, it comes in as "Lastname, First."  I've found the "Split" Action block but am having a hard time figuring out how to use it.  I'd like to split the text at the comma and then order text boxes to reverse the order of the name.  Hope that makes sense! 
Any advice? 
Scott
0 (0 הצבעות)

RE: Splitting Text from LMS
תשובה
17:31 16/02/21 כתגובה ל-Scott Sheridan
Hi Scott,
Great question! Here's how you can split the name coming in from the LMS. You can get the second element (firstname) and the first element (lastname) and use them as you wish (and you can use the Advanced > Text > join block to put them in the same text output or mix it with other text).

https://share.smartbuilder.com/public/support/split-learner-name-from-LMS.mp4

- Nav
0 (0 הצבעות)

RE: Splitting Text from LMS
תשובה
19:16 16/02/21 כתגובה ל-Navdeep Dhillon
Excellent! Works like a charm! 
Thanks, Nav. 
Scott
0 (0 הצבעות)