web
You’re offline. This is a read only version of the page.
close
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:

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans