I've been asked to create an event registration confirmation email that'll be part of a customer journey, which will start after someone registers for an event.
This e-mail needs to contain both data from the event itself (title, date, location) and for each of the event's sessions that the attendee registered for (title, start time, end time, building name).
First I attempted adding a loop (which I 'borrowed' from the event QR-code block) to display the proper event's name/title, but that one already turned into an issue: I can't figure out how to display more than the ID of the event registration itself, or the ID of the event. Any data from the event itself seems inaccessible.
<!-- {{#each contact.msevtmgt_eventregistration_contact_msevtmgt_contactid }} -->
<!-- {{#if (eq this.msevtmgt_eventid 'd95ed9c1-1abc-46d3-afb4-96fd536ca04e')}} -->{{this.msevtmgt_eventid}}<!-- {{/if}} -->
<!-- {{/each}} -->
I've also attempted adding a loop that gets the session data based on the event's GUID, similar to the above, but that only gives me errors for attempting to display data from linked records:
<!-- {{#each contact.msevtmgt_sessionregistration_contact_msevtmgt_contactid }} -->
<!-- {{#if (eq this.msevtmgt_event 'c6564fea-dc96-4de6-b51e-a4abd4341d16')}} -->
<span><strong>{{this.msevtmgt_sessionid.msevtmgt_name}}</strong><br>
Start: {{this.msevtmgt_sessionid.msevtmgt_starttime}}<br>
End: {{this.msevtmgt_sessionid.msevtmgt_endtime}}<br>
Building: {{this.msevtmgt.buildingid.msevtmgt_name}}</span>
<!-- {{/if}} -->
<!-- {{/each}} -->
Has anyone been able to get something like this working or are we asking the Marketing module to do more than it's capable of?