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

new learning assignment alert: avoid null in the text

Hello everyone,

we have the following statement for the alert for a new Learning Offering assignment:

Dear employee,

You have been assigned to following offering: ${learningItemTitle}

<table border="1" width="100%"> <thead><tr><th>Title</th><th>date & time</th><th>location</th></tr></thead> <body> ${AlertUtils.loop('learnerLearningRecords,completionDetails','','<tr><td>${activityTitle}</td><td>${activityDate} ${activityStartTime} - ${activityEndTime}</td><td>${classrooms.classroomTitle[0]},<br>${classrooms.locationAddressLine1[0]},<br>${classrooms.locationCity[0]},${classrooms.locationZipCode[0]},<br>${classrooms.locationCountry[0]} </td></tr>')} <body> </table>


Previously we only had the alert for ILT Offerings. Now it should also apply to blended offerings. However, if we adjust this, the self-paced activities of the blended offering in the table will show "null". How can we rewrite this so that nothing is displayed here?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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