Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Session information in marketing email

(0) ShareShare
ReportReport
Posted on by 34

Hi all,

A few weeks ago I created an email template to confirm session registrations.
This worked fine (and is still working), but if I want to adjust the template I suddenly get errors upon validation.

Even when I just edit the existing (live) template, don't adjust anything but directly save I get validation errors.
No idea how this suddenly happened.

In my code I try to retreive the values of 3 fields on the Session Registration entity.

  <!-- {{#each contact.msevtmgt_sessionregistration_contact_msevtmgt_contactid }} -->
<!-- {{#if (eq this.msevtmgt_event 'dbf6859e-1337-4719-a265-a7941b9d385c')}} -->
<li>Event: {{this.new_naam}}</li>
<li>Locatie: {{this.new_locatie}}</li>
<li>Start: {{this.new_begintijd}}</li>
<li>Einde: {{this.new_eindtijd}}</li>
<!-- {{/if}} -->
<!-- {{/each}} -->

The template is still working and showing the requested data weird enough.

Error for all 3 fields (with respect. field names): HTML: Dynamic content includes a for-each loop that contains the following expression, which must refer to a property of the looped entity:

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Session information in marketing email

    Hi,

    Do you mean the four fields "new_naam", "new_locatie", "new_begintijd" and "new_eindtijd" are all custom field in Session Registration entity?

    If yes, you could try to adjust the code into the following way:

    {{#each contact.msevtmgt_sessionregistration_contact_msevtmgt_contactid }}
    {{#if (eq this.msevtmgt_event 'dbf6859e-1337-4719-a265-a7941b9d385c')}}
    
  • Event: {{this.new_naam}}
  • Locatie: {{this.new_locatie}}
  • Start: {{this.new_begintijd}}
  • Einde: {{this.new_eindtijd}}
  • {{/if}} {{/each}}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans