What's new in Customer Journeys?

Connect and learn more!
Alert Composer - Name appears for each course in table — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Alert Composer - Name appears for each course in table

Accepted answer
62
Views
2
Comments
edited Dec 8, 2020 2:27PM in Learning 2 comments

Summary

How to get the display name to only appear once?

Content

Here is the sample template.  how do we get so the display name only appears once and not for each learning item in table?  Thank you

 

Dear  ${AlertUtils.person(learnerLearningRecords. assignedToId).DisplayName} ,    

 

BODY TEXT

 

${AlertUtils.write("<table border=\"1\"><tr><th>Learning Item Title</th><th>Learning Item Type</th><th>Link</th><th>Due Date</th></tr>")}

${AlertUtils.loop('learnerLearningRecords','<tr><td>${learningItemTitle}</td><td>${learningItemTypeMeaning}</td>

<td>Click <a ${href}="${learningItemDeepLink}">here</a></td><td>${AlertUtils.formatDate(assignmentDueDate,\'MMM-dd-yyyy\')}</td></tr>')}

${AlertUtils.write("</table>")}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!