It's surprising that there is no First name and last name field from RT event table. So I decided to extend the RT event table by adding First name and Last name field to map the data from the SOAP API. I don't want to map the data from CTX as it's difficult to export the CTX data to CSV .
I used <%= rtEvent.firstName %> in HTML to populate the first name from SOAP call, however, when I receive the email, it says this field is "undefined". Has anyone has successfully populated the fields from the extended RT event table?
Thanks for sending this over. I wonder how you get to see the "Recipient" from the Available fields. I only see the Real time events fields below. It seems like you linked RT event table to the Recipient table? If so, How did you link these two tables?
When I use <%= rtEvent.ctx.firstName %>, it works as the first name stored in CTX. However I have extended the RT event table and added the first name field, so I guess the syntax will be <%= rtEvent.firstName %>, the following is the code I used, but the first name is not populated in HTML email.